mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
By default, do not forward pad queries upstream, because it may have unforessen side-effects (forwarding the new 1.0 GST_CAPS query would prevent pad linking for instance)
This commit is contained in:
parent
d058a7f2b2
commit
e323c099a0
1 changed files with 1 additions and 10 deletions
|
@ -768,16 +768,7 @@ gst_dash_demux_src_query (GstPad * pad, GstQuery * query)
|
|||
break;
|
||||
}
|
||||
default:{
|
||||
GstPad *peer;
|
||||
|
||||
if ((peer = gst_pad_get_peer (dashdemux->sinkpad))) {
|
||||
/* Try to query upstream */
|
||||
ret = gst_pad_query (peer, query);
|
||||
gst_object_unref (peer);
|
||||
} else {
|
||||
/* no peer, we don't know */
|
||||
ret = FALSE;
|
||||
}
|
||||
// By default, do not forward queries upstream
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue