mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
input-selector: Let context queries pass through
By doing so GL source elements can successfully reuse the GL context and display of downstream elements. This change fixes an issue in playbin when using gltestsrc where the context query made by the source element would fail and the source element would create a second (useless) GLDisplay.
This commit is contained in:
parent
84512152c1
commit
9f5e65f0a2
1 changed files with 2 additions and 1 deletions
|
@ -666,7 +666,8 @@ gst_selector_pad_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
case GST_QUERY_CAPS:
|
||||
case GST_QUERY_POSITION:
|
||||
case GST_QUERY_DURATION:
|
||||
/* always proxy caps/position/duration query, regardless of active pad or not
|
||||
case GST_QUERY_CONTEXT:
|
||||
/* always proxy caps/position/duration/context queries, regardless of active pad or not
|
||||
* See https://bugzilla.gnome.org/show_bug.cgi?id=775445 */
|
||||
res = gst_pad_peer_query (self->srcpad, query);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue