diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 11:58:15 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 11:58:15 +0100 |
commit | 9d1a92401365077dd6864f5ab5bc7a679f06685d (patch) | |
tree | aadf98d4e9db97c695993609951b5e9b1e867568 | |
parent | cbb41c36ff076a2d64df231a9e0b905b677e738c (diff) |
remove query types
-rw-r--r-- | ext/ffmpeg/gstffmpegdemux.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 983596d..fd5df58 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -681,19 +681,6 @@ gst_ffmpegdemux_src_event (GstPad * pad, GstEvent * event) return res; } -static const GstQueryType * -gst_ffmpegdemux_src_query_list (GstPad * pad) -{ - static const GstQueryType src_types[] = { - GST_QUERY_DURATION, - GST_QUERY_POSITION, - GST_QUERY_SEEKING, - 0 - }; - - return src_types; -} - static gboolean gst_ffmpegdemux_send_event (GstElement * element, GstEvent * event) { @@ -995,7 +982,6 @@ gst_ffmpegdemux_get_stream (GstFFMpegDemux * demux, AVStream * avstream) gst_pad_set_caps (pad, caps); gst_caps_unref (caps); - gst_pad_set_query_type_function (pad, gst_ffmpegdemux_src_query_list); gst_pad_set_query_function (pad, gst_ffmpegdemux_src_query); gst_pad_set_event_function (pad, gst_ffmpegdemux_src_event); |