msdk: vpp: fixup passthrough checking for DMA
I think it is just a typo from e1a90f1ec9 msdkvpp: Disable passthrough if memory capsfeature changes Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1559>
This commit is contained in:
parent
f97b718b4c
commit
2f5904c20d
@ -1244,7 +1244,8 @@ gst_msdkvpp_set_caps (GstBaseTransform * trans, GstCaps * caps,
|
|||||||
gboolean srcpad_info_changed = FALSE;
|
gboolean srcpad_info_changed = FALSE;
|
||||||
gboolean deinterlace;
|
gboolean deinterlace;
|
||||||
|
|
||||||
if (gst_caps_get_features (caps, 0) != gst_caps_get_features (out_caps, 0))
|
if (!gst_caps_features_is_equal (gst_caps_get_features (caps, 0),
|
||||||
|
gst_caps_get_features (out_caps, 0)))
|
||||||
thiz->need_vpp = 1;
|
thiz->need_vpp = 1;
|
||||||
|
|
||||||
gst_video_info_from_caps (&in_info, caps);
|
gst_video_info_from_caps (&in_info, caps);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user