]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libx265.c
Merge commit '2f172f1ae984b763c06069adb51d0053b3834f4b'
[ffmpeg] / libavcodec / libx265.c
index 4cf8c857291a87ad8581fad7ac8f1ec807c8a438..55019d4768a22573351e36ce2ecc3e3af278ad44 100644 (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,
 };