mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: encoder: h265: fix reserved length of bits
Fix reserved length of bits for bit_depth_luma_minus8 and bit_depth_chroma_minus8 https://bugzilla.gnome.org/show_bug.cgi?id=778749
This commit is contained in:
parent
159e3c3f08
commit
7f38b3b9f2
1 changed files with 2 additions and 2 deletions
|
@ -2171,9 +2171,9 @@ gst_vaapi_encoder_h265_get_codec_data (GstVaapiEncoder * base_encoder,
|
||||||
WRITE_UINT32 (&bs, 0x00, 2); /* parallelismType */
|
WRITE_UINT32 (&bs, 0x00, 2); /* parallelismType */
|
||||||
WRITE_UINT32 (&bs, 0x3f, 6); /* 111111 */
|
WRITE_UINT32 (&bs, 0x3f, 6); /* 111111 */
|
||||||
WRITE_UINT32 (&bs, 0x01, 2); /* chroma_format_idc */
|
WRITE_UINT32 (&bs, 0x01, 2); /* chroma_format_idc */
|
||||||
WRITE_UINT32 (&bs, 0x3f, 6); /* 111111 */
|
WRITE_UINT32 (&bs, 0x1f, 5); /* 11111 */
|
||||||
WRITE_UINT32 (&bs, 0x01, 3); /* bit_depth_luma_minus8 */
|
WRITE_UINT32 (&bs, 0x01, 3); /* bit_depth_luma_minus8 */
|
||||||
WRITE_UINT32 (&bs, 0x3f, 6); /* 111111 */
|
WRITE_UINT32 (&bs, 0x1f, 5); /* 11111 */
|
||||||
WRITE_UINT32 (&bs, 0x01, 3); /* bit_depth_chroma_minus8 */
|
WRITE_UINT32 (&bs, 0x01, 3); /* bit_depth_chroma_minus8 */
|
||||||
WRITE_UINT32 (&bs, 0x00, 16); /* avgFramerate */
|
WRITE_UINT32 (&bs, 0x00, 16); /* avgFramerate */
|
||||||
WRITE_UINT32 (&bs, 0x00, 2); /* constatnFramerate */
|
WRITE_UINT32 (&bs, 0x00, 2); /* constatnFramerate */
|
||||||
|
|
Loading…
Reference in a new issue