mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 19:34:43 +00:00
Merge commit '4912b634b517c8acfc476c5d47f10be83fe7e18b'
* commit '4912b634b517c8acfc476c5d47f10be83fe7e18b': x265: Use the encoder defaults Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
eacf42dd50
@ -299,6 +299,11 @@ static const AVClass class = {
|
|||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const AVCodecDefault x265_defaults[] = {
|
||||||
|
{ "b", "0" },
|
||||||
|
{ NULL },
|
||||||
|
};
|
||||||
|
|
||||||
AVCodec ff_libx265_encoder = {
|
AVCodec ff_libx265_encoder = {
|
||||||
.name = "libx265",
|
.name = "libx265",
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libx265 H.265 / HEVC"),
|
.long_name = NULL_IF_CONFIG_SMALL("libx265 H.265 / HEVC"),
|
||||||
@ -310,5 +315,6 @@ AVCodec ff_libx265_encoder = {
|
|||||||
.close = libx265_encode_close,
|
.close = libx265_encode_close,
|
||||||
.priv_data_size = sizeof(libx265Context),
|
.priv_data_size = sizeof(libx265Context),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
|
.defaults = x265_defaults,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user