mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
glmixer: intersect with the filtercaps if available
This commit is contained in:
parent
1e49da469d
commit
6cea67b92a
1 changed files with 4 additions and 0 deletions
|
@ -533,6 +533,10 @@ gst_gl_mixer_query_caps (GstPad * pad, GstAggregator * agg, GstQuery * query)
|
|||
"framerate", GST_TYPE_FRACTION_RANGE, 0, 1, G_MAXINT, 1, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
if (filter)
|
||||
caps = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST);
|
||||
|
||||
gst_query_set_caps_result (query, caps);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue