[Bug 725298] dashdemux: fails after MPD refresh

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 30 06:29:03 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725298
  GStreamer | gst-plugins-bad | git

--- Comment #11 from David Waring <david.waring at rd.bbc.co.uk> 2014-09-30 13:28:57 UTC ---
Created an attachment (id=287447)
 View: https://bugzilla.gnome.org/attachment.cgi?id=287447
 Review: https://bugzilla.gnome.org/review?bug=725298&attachment=287447

Fix MPD refresh segfault.

This patch fixes the MPD refresh segfault by initialising the active streams in
the demux object to point to the new streams in the client object for the
updated MPD. It does assume that the updated MPD will have the same adaptation
set IDs as the previous MPD did, in order to find the same active streams in
the updated MPD.

It also fixes an issue with the downloaded URI(s) being accessed after the the
download object has been unref()'d.

I've tested it using http://rdmedia.bbc.co.uk/dash/testmpds/multiperiod/bbb.php
which has a 1 minute minimumUpdatePeriod. I played the stream and noticed 4
successful MPD updates without interruption to the stream and without segfault
before I cancelled the stream.

-- 
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