mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 23:30:05 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -1244,7 +1244,8 @@ gst_msdkvpp_set_caps (GstBaseTransform * trans, GstCaps * caps,
|
|||
gboolean srcpad_info_changed = FALSE;
|
||||
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;
|
||||
|
||||
gst_video_info_from_caps (&in_info, caps);
|
||||
|
|
Loading…
Reference in a new issue