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;
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 (&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;
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;