dashdemux: Correctly assign earliest pts instead of overriding it with first offset
authorJohn Chang <r97922153@gmail.com>
Wed, 30 Sep 2015 03:00:39 +0000 (11:00 +0800)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 5 Oct 2015 11:16:35 +0000 (12:16 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=755824

ext/dash/gstisoff.c

index e67b11a..3c30393 100644 (file)
@@ -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 =