mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/vorbis/vorbisdec.c: Reset variable so that query and convert fail after going back to
Original commit message from CVS: * ext/vorbis/vorbisdec.c: (vorbis_dec_change_state): Reset variable so that query and convert fail after going back to READY. Fixes #548898.
This commit is contained in:
parent
aea2a11136
commit
096e77929f
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-22 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* 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 <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue