[Bug 701185] rtsp-media: duration is used as range end point
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jun 7 04:34:31 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=701185
GStreamer | gst-rtsp-server | git
--- Comment #3 from Wim Taymans <wim.taymans at gmail.com> 2013-06-07 11:34:27 UTC ---
(In reply to comment #2)
> OK. I'm trying to understand how duration queries work for handling RTSP
> ranges. Is duration updated after a seek?
No, duration is constant for a file.
> I think it should for GstRTSPMedia's
> seeks to result in correct ranges. But for GstMatroskaDemux, which we use in
> our pipeline, the duration does not seem to change after a seek.
Correct, it is constant for a file. You can seek between 0 and the duration of
the file.
> Looking in
> gstflvdemux.c's gst_flv_demux_loop, it looks like playback stops at segment
> stop after a seek, not at the duration.
segment.stop is where the user wanted to stop playback, which can be different
than the duration of the file.
>
> Could you help me sort this out?
a file goes from 0 -> duration
playback goes from start to stop (with start and stop between 0 and duration)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list