vaapipostproc: fix csc fail when only change width or height.
This commit is contained in:
parent
70d6b4002c
commit
63ea81a983
@ -1068,7 +1068,7 @@ gst_vaapipostproc_update_src_caps (GstVaapiPostproc * postproc, GstCaps * caps,
|
||||
|
||||
if (GST_VIDEO_INFO_WIDTH (&postproc->srcpad_info) !=
|
||||
GST_VIDEO_INFO_WIDTH (&postproc->sinkpad_info)
|
||||
&& GST_VIDEO_INFO_HEIGHT (&postproc->srcpad_info) !=
|
||||
|| GST_VIDEO_INFO_HEIGHT (&postproc->srcpad_info) !=
|
||||
GST_VIDEO_INFO_HEIGHT (&postproc->sinkpad_info))
|
||||
postproc->flags |= GST_VAAPI_POSTPROC_FLAG_SIZE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user