Fixed the smooothwave madness removed a yield from vorbisdec don't call mpeg2_close, it seems to segfault sometimes.

Original commit message from CVS:
Fixed the smooothwave madness
removed a yield from vorbisdec
don't call mpeg2_close, it seems to segfault sometimes.
This commit is contained in:
Wim Taymans 2001-12-26 20:54:43 +00:00
parent 3b17020e4a
commit dce41831bc
3 changed files with 4 additions and 4 deletions

View file

@ -1077,7 +1077,7 @@ ext/rtp/Makefile
ext/sdl/Makefile
ext/shout/Makefile
ext/sidplay/Makefile
ext/smoothwave/Makefile
ext/smooothwave/Makefile
ext/vorbis/Makefile
ext/xmms/Makefile
gst-libs/Makefile

View file

@ -161,7 +161,7 @@ SHOUT_DIR=
endif
if USE_SMOOTHWAVE
SMOOTHWAVE_DIR=smoothwave
SMOOTHWAVE_DIR=smooothwave
else
SMOOTHWAVE_DIR=
endif

View file

@ -548,10 +548,10 @@ gst_mpeg2dec_change_state (GstElement *element)
/* if we are not closed by an EOS event do so now, this cen send a few frames but
* we are prepared to not really send them (see above) */
if (!mpeg2dec->closed) {
mpeg2_close (mpeg2dec->decoder);
//mpeg2_close (mpeg2dec->decoder);
mpeg2dec->closed = TRUE;
gst_mpeg2dec_vo_destroy (mpeg2dec);
}
gst_mpeg2dec_vo_destroy (mpeg2dec);
break;
case GST_STATE_READY_TO_NULL:
break;