summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/gstmpegdemux.c7
-rw-r--r--gst/mpegtsdemux/tsdemux.c7
-rw-r--r--gst/mxf/mxfdemux.c14
3 files changed, 0 insertions, 28 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index f1306e160..2384f6e78 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -1484,13 +1484,6 @@ gst_flups_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
else
stop = gst_segment_to_stream_time (&demux->src_segment, format, stop);
- if (demux->src_segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, demux->src_segment.rate, format, start,
stop);
res = TRUE;
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 6b2b2b871..d4f418d01 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -476,13 +476,6 @@ gst_ts_demux_srcpad_query (GstPad * pad, GstObject * parent, GstQuery * query)
else
stop = gst_segment_to_stream_time (&demux->segment, format, stop);
- if (demux->segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, demux->segment.rate, format, start, stop);
res = TRUE;
break;
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c
index 119a7d671..c5d2beb16 100644
--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -3657,13 +3657,6 @@ gst_mxf_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
else
stop = gst_segment_to_stream_time (&demux->segment, format, stop);
- if (demux->segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, demux->segment.rate, format, start, stop);
ret = TRUE;
break;
@@ -3955,13 +3948,6 @@ gst_mxf_demux_query (GstElement * element, GstQuery * query)
else
stop = gst_segment_to_stream_time (&demux->segment, format, stop);
- if (demux->segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, demux->segment.rate, format, start, stop);
ret = TRUE;
break;