mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
libs: encoder: h265: increase log2_max_pic_order_cnt range according to spec
The specification says, "log2_max_pic_order_cnt_lsb_minus4 shall be in the range of 0 to 12, inclusive." This patch changes the upper limit from 6 to 12. https://bugzilla.gnome.org/show_bug.cgi?id=796179
This commit is contained in:
parent
705b37844e
commit
676e558331
1 changed files with 2 additions and 2 deletions
|
@ -181,8 +181,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue