summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiencoder_h265.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder_h265.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_h265.c b/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
index 76154f1c..6131e220 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder_h265.c
@@ -180,8 +180,8 @@ h265_get_log2_max_pic_order_cnt (guint num)
}
if (ret <= 4)
ret = 4;
- else if (ret > 10)
- ret = 10;
+ else if (ret > 16)
+ ret = 16;
/* must be greater than 4 */
return ret;
}