When asked about the scheduling flags first check with upstream and
simply add the _SEEKABLE flag when using a temporary file as storage.
This enables the forwarding of _SEQUENTIAL and _BANDWIDTH_LIMITED from
sources if needed.
https://bugzilla.gnome.org/show_bug.cgi?id=704927
gboolean pull_mode;
GstSchedulingFlags flags = 0;
+ if (!gst_pad_peer_query (queue->sinkpad, query))
+ goto peer_failed;
+
+ gst_query_parse_scheduling (query, &flags, NULL, NULL, NULL);
+
/* we can operate in pull mode when we are using a tempfile */
pull_mode = !QUEUE_IS_USING_QUEUE (queue);