After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741322 - dashdemux: Change period when setting by period id.
dashdemux: Change period when setting by period id.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-10 09:36 UTC by David Waring
Modified: 2014-12-10 21:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to change period when setting by period id. (1.33 KB, patch)
2014-12-10 09:36 UTC, David Waring
committed Details | Review

Description David Waring 2014-12-10 09:36:28 UTC
Created attachment 292423 [details] [review]
Patch to change period when setting by period id.

At present gst_mpd_client_set_period_id doesn't actually set the current period, it just returns true if it finds a period with a matching id.

This affects manifest updates where the Period/@id attribute is set in the MPD and the current playing period is not the first one.

This will cause playback to jump back to the first period on manifest update, and is demonstrated by:
http://rdmedia.bbc.co.uk/dash/testmpds/multiperiod/bbb.php

Attached is a patch which will make gst_mpd_client_set_period_id set the current period index when it finds a period with a matching period id.
Comment 1 Thiago Sousa Santos 2014-12-10 21:27:35 UTC
commit 1c0c6b6f48369b4b01e81c82c7ecdefcb59c04aa
Author: David Waring <david.waring@rd.bbc.co.uk>
Date:   Wed Dec 10 09:24:17 2014 +0000

    dashdemux: Change period when setting by period id.
    
    Make gst_mpd_client_set_period_id set the current period index when it finds a
    period with a matching period id.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741322