mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
vaapiencoder_h264: set direct_spatial_mv_pred_flag to true by default
This flag is set to true by default in both MediaSDK and FFmpeg-vaapi, so let's align this plugin with other libraries / softwares. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/329>
This commit is contained in:
parent
6b2f83522f
commit
20ce08aa23
1 changed files with 1 additions and 1 deletions
|
@ -2310,7 +2310,7 @@ add_slice_headers (GstVaapiEncoderH264 * encoder, GstVaapiEncPicture * picture,
|
|||
sizeof (slice_param->delta_pic_order_cnt));
|
||||
|
||||
/* only works for B frames */
|
||||
slice_param->direct_spatial_mv_pred_flag = FALSE;
|
||||
slice_param->direct_spatial_mv_pred_flag = TRUE;
|
||||
/* default equal to picture parameters */
|
||||
slice_param->num_ref_idx_active_override_flag = reflist_0_count
|
||||
|| reflist_1_count;
|
||||
|
|
Loading…
Reference in a new issue