mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
vaapipostproc: fix csc fail when only change width or height.
This commit is contained in:
parent
70d6b4002c
commit
63ea81a983
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue