summaryrefslogtreecommitdiff
path: root/gst/gstquery.h
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2013-03-29 14:56:57 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-16 16:52:08 +0200
commit54c678a21ec65d5d4aa82ed18116b1ee9624a5e8 (patch)
tree3f3bb6fd59407f72efa3bf16031f8c25dea5aec3 /gst/gstquery.h
parent4997fd9f94aec50157c821d5e7a0ea099b0ecb94 (diff)
query: new _BANDWIDTH_LIMITED flag
Source elements with limited bandwidth capabilities and supporting buffering for downstream elements should set this flag when answering a scheduling query. This is useful for the on-disk buffering scenario of uridecodebin to avoid checking the URI protocol against a list of hardcoded protocols. Bug 693484
Diffstat (limited to 'gst/gstquery.h')
-rw-r--r--gst/gstquery.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/gstquery.h b/gst/gstquery.h
index c8eb6f95d6..57a9c0622d 100644
--- a/gst/gstquery.h
+++ b/gst/gstquery.h
@@ -442,12 +442,14 @@ gboolean gst_query_find_allocation_meta (GstQuery *query, GType api
* GstSchedulingFlags:
* @GST_SCHEDULING_FLAG_SEEKABLE: if seeking is possible
* @GST_SCHEDULING_FLAG_SEQUENTIAL: if sequential access is recommended
+ * @GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: if bandwidth is limited and buffering possible
*
* The different scheduling flags.
*/
typedef enum {
- GST_SCHEDULING_FLAG_SEEKABLE = (1 << 0),
- GST_SCHEDULING_FLAG_SEQUENTIAL = (1 << 1)
+ GST_SCHEDULING_FLAG_SEEKABLE = (1 << 0),
+ GST_SCHEDULING_FLAG_SEQUENTIAL = (1 << 1),
+ GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED = (1 << 2)
} GstSchedulingFlags;
GstQuery * gst_query_new_scheduling (void) G_GNUC_MALLOC;