gst/matroska/matroska-demux.c: Save position, so that queries give proper return...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 23 Dec 2004 13:14:24 +0000 (13:14 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 23 Dec 2004 13:14:24 +0000 (13:14 +0000)
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Save position, so that queries give proper return values. Don't
know how this could ever have worked before...

ChangeLog
gst/matroska/matroska-demux.c

index 4de56c2..f3f1ce8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
+
+       * gst/matroska/matroska-demux.c:
+       (gst_matroska_demux_parse_blockgroup):
+         Save position, so that queries give proper return values. Don't
+         know how this could ever have worked before...
+
 2004-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * configure.ac:
index 23d099d..ed243e7 100644 (file)
@@ -1979,6 +1979,7 @@ gst_matroska_demux_parse_blockgroup (GstMatroskaDemux * demux,
           GST_BUFFER_TIMESTAMP (sub) = cluster_time;
         else
           GST_BUFFER_TIMESTAMP (sub) = cluster_time + time;
+        demux->pos = GST_BUFFER_TIMESTAMP (sub);
       }
 
       /* do all laces have the same lenght? */