From 3b494824c00a059358bfd95a79e43c4abb19fcbf Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 23 Dec 2004 13:14:24 +0000 Subject: gst/matroska/matroska-demux.c: Save position, so that queries give proper return values. Don't know how this could ev... 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 | 7 +++++++ gst/matroska/matroska-demux.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4de56c23..f3f1ce86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-12-23 Ronald S. Bultje + + * 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 * configure.ac: diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 23d099d9..ed243e7a 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -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? */ -- cgit