projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417c708
)
dashdemux: Remove wrong assertion
author
Edward Hervey
<edward@centricular.com>
Wed, 31 May 2017 08:58:39 +0000
(10:58 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 31 May 2017 09:28:08 +0000
(11:28 +0200)
This is wrong because:
* If the rate is negative we should check for the *previous* period
* adaptivedemux already does the proper checks before calling this
method
ext/dash/gstdashdemux.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstdashdemux.c
b/ext/dash/gstdashdemux.c
index d78d144f393aa5ba3ee1d1ad6e6e58d0d6b60e44..bc4593c19114900e1c0c736899245ae3099f6afe 100644
(file)
--- a/
ext/dash/gstdashdemux.c
+++ b/
ext/dash/gstdashdemux.c
@@
-2562,8
+2562,6
@@
gst_dash_demux_advance_period (GstAdaptiveDemux * demux)
{
GstDashDemux *dashdemux = GST_DASH_DEMUX_CAST (demux);
- g_return_if_fail (gst_mpd_client_has_next_period (dashdemux->client));
-
if (demux->segment.rate >= 0) {
if (!gst_mpd_client_set_period_index (dashdemux->client,
gst_mpd_client_get_period_index (dashdemux->client) + 1)) {