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:
5151c42
)
dashdemux: wrong segment duration computed by gst_mpd_client_setup_representation
author
Florin Apostol
<florin.apostol@oregan.net>
Fri, 3 Jul 2015 16:00:31 +0000
(17:00 +0100)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Sun, 5 Jul 2015 16:31:38 +0000
(13:31 -0300)
Corrected computation of segment start and duration.
https://bugzilla.gnome.org/show_bug.cgi?id=751914
ext/dash/gstmpdparser.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstmpdparser.c
b/ext/dash/gstmpdparser.c
index
366991b
..
04c92c9
100644
(file)
--- a/
ext/dash/gstmpdparser.c
+++ b/
ext/dash/gstmpdparser.c
@@
-3274,8
+3274,8
@@
gst_mpd_client_setup_representation (GstMpdClient * client,
gst_mpdparser_init_active_stream_segments (stream);
/* 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,
-
0, PeriodEnd
)) {
+ if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0,
+
PeriodEnd - PeriodStart, PeriodStart, PeriodEnd - PeriodStart
)) {
return FALSE;
}
} else {