mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
Try queries upstream if we cannot process them
This commit is contained in:
parent
089daeba1b
commit
0e2c3ffc0b
1 changed files with 12 additions and 4 deletions
|
@ -764,11 +764,19 @@ gst_dash_demux_src_query (GstPad * pad, GstQuery * query)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:{
|
||||||
/* Don't fordward queries upstream because of the special nature of this
|
GstPad *peer;
|
||||||
* "demuxer", which relies on the upstream element only to be fed with the
|
|
||||||
* manifest file */
|
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;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue