mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
decklinksink: Give preference to the order of the filter caps when querying caps
This commit is contained in:
parent
007807d149
commit
46b62c72d8
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ gst_decklink_sink_videosink_query (GstPad * pad, GstObject * parent,
|
|||
mode_caps = gst_decklink_mode_get_caps (decklinksink->mode);
|
||||
gst_query_parse_caps (query, &filter);
|
||||
if (filter) {
|
||||
caps = gst_caps_intersect (mode_caps, filter);
|
||||
caps = gst_caps_intersect_full (filter, mode_caps, GST_CAPS_INTERSECT_FIRST);
|
||||
gst_caps_unref (mode_caps);
|
||||
} else {
|
||||
caps = mode_caps;
|
||||
|
|
Loading…
Reference in a new issue