From 22f895c37022ae13122cb7f5ed1836fb2a2492c9 Mon Sep 17 00:00:00 2001 From: John Chang Date: Wed, 30 Sep 2015 11:00:39 +0800 Subject: [PATCH] dashdemux: Correctly assign earliest pts instead of overriding it with first offset https://bugzilla.gnome.org/show_bug.cgi?id=755824 --- ext/dash/gstisoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstisoff.c b/ext/dash/gstisoff.c index e67b11a..3c30393 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 = -- 2.7.4