GNOME Bugzilla – Bug 632548
[rtspsrc] regression; fails to report duration
Last modified: 2010-10-20 08:21:45 UTC
Created attachment 172707 [details] [review] rtspsrc: init segment prior to storing duration info in it After some reshuffling in rtspsrc a while ago, current code order in open_from_sdp is now (a.o.): ... /* parse range for duration reporting. */ /* -> stored in src->segment */ ... gst_segment_init (&src->segment, GST_FORMAT_TIME); /* ==> losing result obtaining above */ Since servers (apparently) might reply with a "npt=0-" range, duration info is lost. Provided patch restores earlier behaviour (i.e. retaining duration info obtained from SDP).
Looks good, can we get this into the next release?
Comment on attachment 172707 [details] [review] rtspsrc: init segment prior to storing duration info in it Looks good, please push. Would be great if you could rephrase the commit message a bit to make it clearer what effect this change has (e.g. rtspsrc: fix duration reporting \ Init segment prior to....)
commit ca7870de496c31f5377b1cdecd32de59921d61a9 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Tue Oct 19 16:45:51 2010 +0200 rtspsrc: fix duration reporting Init segment prior to storing duration info in it. Fixes #632548.