matroskademux: proper parse recovery after seek

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680427
This commit is contained in:
Mark Nauwelaerts 2012-07-23 15:33:54 +02:00
parent 33091e2bf5
commit a5dfa3d689

View file

@ -1550,6 +1550,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 %"