From a034a8bf311c271ea9f4300c47d0778394383155 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 26 Dec 2001 20:54:43 +0000 Subject: [PATCH] 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. --- configure.ac | 2 +- ext/Makefile.am | 2 +- ext/vorbis/vorbisdec.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 3c80804..a0286e7 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/ext/Makefile.am b/ext/Makefile.am index 3ebdc5a..b889fb3 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -161,7 +161,7 @@ SHOUT_DIR= endif if USE_SMOOTHWAVE -SMOOTHWAVE_DIR=smoothwave +SMOOTHWAVE_DIR=smooothwave else SMOOTHWAVE_DIR= endif diff --git a/ext/vorbis/vorbisdec.c b/ext/vorbis/vorbisdec.c index 0eab0b9..4e3809f 100644 --- a/ext/vorbis/vorbisdec.c +++ b/ext/vorbis/vorbisdec.c @@ -171,8 +171,6 @@ gst_vorbisdec_loop (GstElement * element) stream initial header) We need the first page to get the stream serialno. */ - gst_element_yield (GST_ELEMENT (vorbisdec)); - /* submit a 4k block to libvorbis' Ogg layer */ buf = gst_vorbisdec_pull (vorbisdec, &oy); -- 2.7.4