mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
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:
parent
3b17020e4a
commit
dce41831bc
3 changed files with 4 additions and 4 deletions
|
@ -1077,7 +1077,7 @@ ext/rtp/Makefile
|
||||||
ext/sdl/Makefile
|
ext/sdl/Makefile
|
||||||
ext/shout/Makefile
|
ext/shout/Makefile
|
||||||
ext/sidplay/Makefile
|
ext/sidplay/Makefile
|
||||||
ext/smoothwave/Makefile
|
ext/smooothwave/Makefile
|
||||||
ext/vorbis/Makefile
|
ext/vorbis/Makefile
|
||||||
ext/xmms/Makefile
|
ext/xmms/Makefile
|
||||||
gst-libs/Makefile
|
gst-libs/Makefile
|
||||||
|
|
|
@ -161,7 +161,7 @@ SHOUT_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_SMOOTHWAVE
|
if USE_SMOOTHWAVE
|
||||||
SMOOTHWAVE_DIR=smoothwave
|
SMOOTHWAVE_DIR=smooothwave
|
||||||
else
|
else
|
||||||
SMOOTHWAVE_DIR=
|
SMOOTHWAVE_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -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
|
/* 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) */
|
* we are prepared to not really send them (see above) */
|
||||||
if (!mpeg2dec->closed) {
|
if (!mpeg2dec->closed) {
|
||||||
mpeg2_close (mpeg2dec->decoder);
|
//mpeg2_close (mpeg2dec->decoder);
|
||||||
mpeg2dec->closed = TRUE;
|
mpeg2dec->closed = TRUE;
|
||||||
|
gst_mpeg2dec_vo_destroy (mpeg2dec);
|
||||||
}
|
}
|
||||||
gst_mpeg2dec_vo_destroy (mpeg2dec);
|
|
||||||
break;
|
break;
|
||||||
case GST_STATE_READY_TO_NULL:
|
case GST_STATE_READY_TO_NULL:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue