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:
2918dff
)
dashdemux: added check that availabilityStartTime is present for live streams
author
Florin Apostol
<florin.apostol@oregan.net>
Fri, 8 Jan 2016 11:04:13 +0000
(11:04 +0000)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Mon, 18 Jan 2016 18:12:07 +0000
(15:12 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=757602
ext/dash/gstdashdemux.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstdashdemux.c
b/ext/dash/gstdashdemux.c
index
58b98e3
..
1cc60ce
100644
(file)
--- a/
ext/dash/gstdashdemux.c
+++ b/
ext/dash/gstdashdemux.c
@@
-684,6
+684,11
@@
gst_dash_demux_setup_streams (GstAdaptiveDemux * demux)
period_idx = 0;
if (gst_mpd_client_is_live (dashdemux->client)) {
GDateTime *g_now;
+ if (dashdemux->client->mpd_node->availabilityStartTime == NULL) {
+ ret = FALSE;
+ GST_ERROR_OBJECT (demux, "MPD does not have availabilityStartTime");
+ goto done;
+ }
if (dashdemux->clock_drift == NULL) {
gchar **urls;
urls =