summaryrefslogtreecommitdiff
path: root/gst/matroska
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-23 15:33:54 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-23 15:33:54 +0200
commit8fb6e831434c8705819993d86f3931a6b8f12a26 (patch)
treea201a6d84c8875ef43dfb7f80aaa80eece552801 /gst/matroska
parentcba3e39e5fbb699d855441539852a8d7603010a0 (diff)
matroskademux: proper parse recovery after seek
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680427
Diffstat (limited to 'gst/matroska')
-rw-r--r--gst/matroska/matroska-demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index de2c59731..b73e73227 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -1557,6 +1557,7 @@ gst_matroska_demux_move_to_entry (GstMatroskaDemux * demux,
/* seek (relative to matroska segment) */
/* position might be invalid; will error when streaming resumes ... */
demux->common.offset = entry->pos + demux->common.ebml_segment_start;
+ demux->next_cluster_offset = 0;
GST_DEBUG_OBJECT (demux,
"Seeked to offset %" G_GUINT64_FORMAT ", block %d, " "time %"