diff options
author | Florin Apostol <florin.apostol@oregan.net> | 2015-06-24 17:16:46 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-25 10:16:24 +0200 |
commit | dbf12ab760c1a5c735617823fff0cc487439da1d (patch) | |
tree | f8443fb5e37bc61673ca7d15a49aaf666a798e0d | |
parent | 93f08347de7b725f568b74e972c7d4a59773bb6f (diff) | |
download | gstreamer-plugins-bad-dbf12ab760c1a5c735617823fff0cc487439da1d.tar.gz |
dashdemux: Corrected duration argument for gst_mpd_client_add_media_segment call
The last parameter of gst_mpd_client_add_media_segment function is a
duration. But when called from gst_mpd_client_setup_representation, the
last argument was wrongly set to PeriodEnd
https://bugzilla.gnome.org/show_bug.cgi?id=751449
-rw-r--r-- | ext/dash/gstmpdparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 6b94a9e9c..99ee85524 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -3186,7 +3186,7 @@ gst_mpd_client_setup_representation (GstMpdClient * client, GST_DEBUG ("No useful SegmentList node for the current Representation"); /* here we should have a single segment for each representation, whose URL is encoded in the baseURL element */ if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0, - PeriodEnd - PeriodStart, PeriodStart, PeriodEnd)) { + PeriodEnd - PeriodStart, PeriodStart, PeriodEnd - PeriodStart)) { return FALSE; } } else { |