summaryrefslogtreecommitdiff
path: root/gst/gstquark.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-12-20 17:33:44 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-12-20 17:33:44 +0000
commit9b65eb6838052698728979223f4214a14eeeef62 (patch)
tree7f96fe539cf12e7eada6eee19c69ba86645df93b /gst/gstquark.h
parent1b13418a0a5fc2dcf84ca32c6054ae1374f837ac (diff)
API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne...
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstquark.c: * gst/gstquark.h: * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri), (gst_query_parse_uri): * gst/gstquery.h: API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that need to get data from other files. This query should go upstream by default. Fixes bug #562949. * plugins/elements/gstfdsink.c: (gst_fd_sink_query): * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init), (gst_fd_src_query): * plugins/elements/gstfilesink.c: (gst_file_sink_query): * plugins/elements/gstfilesrc.c: (gst_file_src_class_init), (gst_file_src_query): Implement URI query.
Diffstat (limited to 'gst/gstquark.h')
-rw-r--r--gst/gstquark.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstquark.h b/gst/gstquark.h
index 10b0a443b..b4e78e828 100644
--- a/gst/gstquark.h
+++ b/gst/gstquark.h
@@ -77,8 +77,9 @@ typedef enum _GstQuarkId
GST_QUARK_CUR = 48,
GST_QUARK_STOP_TYPE = 49,
GST_QUARK_LATENCY = 50,
+ GST_QUARK_URI = 51,
- GST_QUARK_MAX = 51
+ GST_QUARK_MAX = 52
} GstQuarkId;
extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];