projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98b824
)
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>
Mon, 12 Jun 2017 14:07:51 +0000
(16:07 +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
6c0ade7
..
839a0b3
100644
(file)
--- a/
ext/dash/gstdashdemux.c
+++ b/
ext/dash/gstdashdemux.c
@@
-1938,8
+1938,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)) {