mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
Merge commit '3852e2c926ddb166c7aa69c4644a86100ea144d9'
* commit '3852e2c926ddb166c7aa69c4644a86100ea144d9': libopenh264enc: Fix a typo and some nitpicks Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
93870f0a0b
2
configure
vendored
2
configure
vendored
@ -226,7 +226,7 @@ External library support:
|
|||||||
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
|
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
|
||||||
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
|
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
|
||||||
--enable-libopencv enable video filtering via libopencv [no]
|
--enable-libopencv enable video filtering via libopencv [no]
|
||||||
--enable-libopenh264 enable H264 encoding via OpenH264 [no]
|
--enable-libopenh264 enable H.264 encoding via OpenH264 [no]
|
||||||
--enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
|
--enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
|
||||||
--enable-libopus enable Opus de/encoding via libopus [no]
|
--enable-libopus enable Opus de/encoding via libopus [no]
|
||||||
--enable-libpulse enable Pulseaudio input via libpulse [no]
|
--enable-libpulse enable Pulseaudio input via libpulse [no]
|
||||||
|
@ -182,7 +182,7 @@ static int svc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
first_layer = 0;
|
first_layer = 0;
|
||||||
// Normal frames are returned with one single layers, while IDR
|
// Normal frames are returned with one single layer, while IDR
|
||||||
// frames have two layers, where the first layer contains the SPS/PPS.
|
// frames have two layers, where the first layer contains the SPS/PPS.
|
||||||
// If using global headers, don't include the SPS/PPS in the returned
|
// If using global headers, don't include the SPS/PPS in the returned
|
||||||
// packet - thus, only return one layer.
|
// packet - thus, only return one layer.
|
||||||
@ -214,6 +214,7 @@ static int svc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
|
|
||||||
AVCodec ff_libopenh264_encoder = {
|
AVCodec ff_libopenh264_encoder = {
|
||||||
.name = "libopenh264",
|
.name = "libopenh264",
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("OpenH264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.id = AV_CODEC_ID_H264,
|
.id = AV_CODEC_ID_H264,
|
||||||
.priv_data_size = sizeof(SVCContext),
|
.priv_data_size = sizeof(SVCContext),
|
||||||
@ -223,6 +224,5 @@ AVCodec ff_libopenh264_encoder = {
|
|||||||
.capabilities = CODEC_CAP_AUTO_THREADS,
|
.capabilities = CODEC_CAP_AUTO_THREADS,
|
||||||
.pix_fmts = (const enum PixelFormat[]){ AV_PIX_FMT_YUV420P,
|
.pix_fmts = (const enum PixelFormat[]){ AV_PIX_FMT_YUV420P,
|
||||||
AV_PIX_FMT_NONE },
|
AV_PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("OpenH264"),
|
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user