x265: Use the encoder defaults

Reset the settings as it is done for x264.
This commit is contained in:
Luca Barbato 2014-08-28 03:49:05 +02:00
parent eda7571ea1
commit 4912b634b5
1 changed files with 6 additions and 0 deletions

View File

@ -299,6 +299,11 @@ static const AVClass class = {
.version = LIBAVUTIL_VERSION_INT,
};
static const AVCodecDefault x265_defaults[] = {
{ "b", "0" },
{ NULL },
};
AVCodec ff_libx265_encoder = {
.name = "libx265",
.long_name = NULL_IF_CONFIG_SMALL("libx265 H.265 / HEVC"),
@ -310,5 +315,6 @@ AVCodec ff_libx265_encoder = {
.close = libx265_encode_close,
.priv_data_size = sizeof(libx265Context),
.priv_class = &class,
.defaults = x265_defaults,
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
};