mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
rtspsrc: Do not overwrite the known duration after a seek
This breaks the duration query and also the seeking query.
Broke in 5f1a732bc7
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/940>
This commit is contained in:
parent
99ee5fb2d9
commit
fb97ca9458
1 changed files with 0 additions and 1 deletions
|
@ -2857,7 +2857,6 @@ gst_rtspsrc_perform_seek (GstRTSPSrc * src, GstEvent * event)
|
|||
/* configure the seek parameters in the seeksegment. We will then have the
|
||||
* right values in the segment to perform the seek */
|
||||
GST_DEBUG_OBJECT (src, "configuring seek");
|
||||
seeksegment.duration = GST_CLOCK_TIME_NONE;
|
||||
rate_change_same_direction = (rate * seeksegment.rate) > 0;
|
||||
gst_segment_do_seek (&seeksegment, rate, format, flags,
|
||||
cur_type, cur, stop_type, stop, &update);
|
||||
|
|
Loading…
Reference in a new issue