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
@ -2319,6 +2319,7 @@ gst_ogg_demux_reset_streams (GstOggDemux * ogg)
|
|||||||
stream->start_time = -1;
|
stream->start_time = -1;
|
||||||
stream->map.accumulated_granule = 0;
|
stream->map.accumulated_granule = 0;
|
||||||
stream->current_granule = -1;
|
stream->current_granule = -1;
|
||||||
|
stream->keyframe_granule = -1;
|
||||||
}
|
}
|
||||||
ogg->building_chain = chain;
|
ogg->building_chain = chain;
|
||||||
GST_DEBUG_OBJECT (ogg, "Resetting current chain");
|
GST_DEBUG_OBJECT (ogg, "Resetting current chain");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user