diff --git a/ChangeLog b/ChangeLog index 7685854f33..4897d5d8e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-22 Wim Taymans + + * ext/vorbis/vorbisdec.c: (vorbis_dec_change_state): + Reset variable so that query and convert fail after going back to + READY. Fixes #548898. + 2008-08-22 Sebastian Dröge * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain): diff --git a/ext/vorbis/vorbisdec.c b/ext/vorbis/vorbisdec.c index b709b92ca0..66716c93a2 100644 --- a/ext/vorbis/vorbisdec.c +++ b/ext/vorbis/vorbisdec.c @@ -1427,6 +1427,7 @@ vorbis_dec_change_state (GstElement * element, GstStateChange transition) break; case GST_STATE_CHANGE_PAUSED_TO_READY: GST_DEBUG_OBJECT (vd, "PAUSED -> READY, clearing vorbis structures"); + vd->initialized = FALSE; vorbis_block_clear (&vd->vb); vorbis_dsp_clear (&vd->vd); vorbis_comment_clear (&vd->vc);