mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 01:54:11 +00:00
oggdemux: Don't swap start/stop for negative rates in the SEGMENT query
This commit is contained in:
parent
bb870b8b7b
commit
246e1781c7
1 changed files with 0 additions and 7 deletions
|
@ -368,13 +368,6 @@ gst_ogg_pad_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
else
|
||||
stop = gst_segment_to_stream_time (&ogg->segment, format, stop);
|
||||
|
||||
if (ogg->segment.rate < 0.0) {
|
||||
gint64 tmp;
|
||||
tmp = stop;
|
||||
stop = start;
|
||||
start = tmp;
|
||||
}
|
||||
|
||||
gst_query_set_segment (query, ogg->segment.rate, format, start, stop);
|
||||
res = TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue