GNOME Bugzilla – Bug 622498
[avidemux] Doesn't reset all state when going back to READY
Last modified: 2010-06-23 19:41:57 UTC
Created attachment 164403 [details] [review] [PATCH 1] [gstavidemux] reset the have_index flag at transition PAUSED_TO_READY I have been debugging a chain of filesource->avidemux->avidecoder->v4l2sink and stepped upon some strange issues. One of them is, that if we reuse the avidemuxer and toggle transitions PAUSED_TO_READY and READY_TO_PAUSED the precalculated duration from the avi header gets overwritten with a recalculated value. Therefore the attached patch solves this with turning off the avi->have_index flag, so the metadata gets reread from the gst_avi_demux_stream_header_(pull/push) function.
is the same patch??? https://bugzilla.gnome.org/show_bug.cgi?id=622499
*** Bug 622499 has been marked as a duplicate of this bug. ***
commit b26785d9f92587fb99d2418c6b8e1c7ba2c8d849 Author: Michael Grzeschik <m.grzeschik@pengutronix.de> Date: Wed Jun 23 12:15:13 2010 +0200 reset the have_index flag at transition PAUSED_TO_READY If we restart the Stream in the case of doing a transition from PAUSED_TO_READY and back with READY_TO_PAUSED aso. the duration of the vide will get calculated even if we have a avi header with that information. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>