mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
encoder: h264: Fix MVC encode while enabling dct8x8
Pack the transform_8x8_mode_flag and other necessary rbsp data in packed_pps header for MVC encode. https://bugzilla.gnome.org/show_bug.cgi?id=768647
This commit is contained in:
parent
9f4796756d
commit
6c6007ad94
1 changed files with 3 additions and 1 deletions
|
@ -703,7 +703,9 @@ bs_write_pps (GstBitWriter * bs,
|
|||
WRITE_UINT32 (bs, redundant_pic_cnt_present_flag, 1);
|
||||
|
||||
/* more_rbsp_data */
|
||||
if (profile == GST_VAAPI_PROFILE_H264_HIGH) {
|
||||
if (profile == GST_VAAPI_PROFILE_H264_HIGH
|
||||
|| profile == GST_VAAPI_PROFILE_H264_MULTIVIEW_HIGH
|
||||
|| profile == GST_VAAPI_PROFILE_H264_STEREO_HIGH) {
|
||||
WRITE_UINT32 (bs, pic_param->pic_fields.bits.transform_8x8_mode_flag, 1);
|
||||
WRITE_UINT32 (bs,
|
||||
pic_param->pic_fields.bits.pic_scaling_matrix_present_flag, 1);
|
||||
|
|
Loading…
Reference in a new issue