else
stop = gst_segment_to_stream_time (&avi->segment, format, stop);
- if (avi->segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, avi->segment.rate, format, start, stop);
res = TRUE;
break;
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;
else
stop = gst_segment_to_stream_time (&qtdemux->segment, format, stop);
- if (qtdemux->segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, qtdemux->segment.rate, format, start, stop);
res = TRUE;
break;
stop =
gst_segment_to_stream_time (&demux->common.segment, format, stop);
- if (demux->common.segment.rate < 0.0) {
- gint64 tmp;
- tmp = stop;
- stop = start;
- start = tmp;
- }
-
gst_query_set_segment (query, demux->common.segment.rate, format, start,
stop);
res = TRUE;