mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
oggdemux: Reset keyframe_granule when needed
This avoids ending up with bogus values when doing flushing seeks in push-mode. https://bugzilla.gnome.org/show_bug.cgi?id=766467
This commit is contained in:
parent
cebddd5103
commit
98c9eb9858
1 changed files with 1 additions and 0 deletions
|
@ -2319,6 +2319,7 @@ gst_ogg_demux_reset_streams (GstOggDemux * ogg)
|
|||
stream->start_time = -1;
|
||||
stream->map.accumulated_granule = 0;
|
||||
stream->current_granule = -1;
|
||||
stream->keyframe_granule = -1;
|
||||
}
|
||||
ogg->building_chain = chain;
|
||||
GST_DEBUG_OBJECT (ogg, "Resetting current chain");
|
||||
|
|
Loading…
Reference in a new issue