summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Chang <r97922153@gmail.com>2015-09-30 11:00:39 +0800
committerSebastian Dröge <sebastian@centricular.com>2015-10-05 12:16:35 +0100
commit22f895c37022ae13122cb7f5ed1836fb2a2492c9 (patch)
tree5a118782569e75b49dec0280d5bf0fc45a90bc35
parent7d4bfcd8c9b42a99ab9ba3e7ae56d2e1f2132a66 (diff)
downloadgstreamer-plugins-bad-22f895c37022ae13122cb7f5ed1836fb2a2492c9.tar.gz
dashdemux: Correctly assign earliest pts instead of overriding it with first offset
https://bugzilla.gnome.org/show_bug.cgi?id=755824
-rw-r--r--ext/dash/gstisoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstisoff.c b/ext/dash/gstisoff.c
index e67b11ae8..3c303931b 100644
--- a/ext/dash/gstisoff.c
+++ b/ext/dash/gstisoff.c
@@ -116,7 +116,7 @@ gst_isoff_sidx_parser_add_buffer (GstSidxParser * parser, GstBuffer * buffer,
if (parser->sidx.version == 0) {
parser->sidx.earliest_pts =
gst_byte_reader_get_uint32_be_unchecked (&reader);
- parser->sidx.first_offset = parser->sidx.earliest_pts =
+ parser->sidx.first_offset =
gst_byte_reader_get_uint32_be_unchecked (&reader);
} else {
parser->sidx.earliest_pts =