gesdemux: Fix querying if we need stack reloading

We are probing upstream queries, not downstream ones

This was clearly a small test that slipt into previous commit
This commit is contained in:
Thibault Saunier 2019-08-20 15:29:12 -04:00
parent f19bf3edb4
commit 19426863e9

View file

@ -271,7 +271,7 @@ ges_demux_src_probe (GstPad * pad, GstPadProbeInfo * info, GstElement * parent)
GESDemux *self = GES_DEMUX (parent);
GstEvent *event;
if (info->type & (GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM)) {
if (info->type & (GST_PAD_PROBE_TYPE_QUERY_UPSTREAM)) {
GstQuery *query = info->data;
if (GST_QUERY_TYPE (query) == GST_QUERY_CUSTOM) {