summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2004-10-14 23:25:24 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2004-10-14 23:25:24 +0000
commit0afc766174a39031fa27686bba32e28dd87af09c (patch)
treea08f81e534bf1550f66dce996180ac9cfd5ed573 /src/xine-engine/audio_decoder.c
parent54ef2ac454dab005c5a6a808b2c5bbcdfe544b8f (diff)
downloadxine-lib-0afc766174a39031fa27686bba32e28dd87af09c.tar.gz
xine-lib-0afc766174a39031fa27686bba32e28dd87af09c.tar.bz2
Implemented stream_t reference counter idea.
See these two threads: http://thread.gmane.org/gmane.comp.video.xine.devel/10819 http://thread.gmane.org/gmane.comp.video.xine.devel/10424 Fixed _x_handle_stream_end __stop_internal race. See this thread: http://thread.gmane.org/gmane.comp.video.xine.devel/10818 If the lib is broken after this patch, you know who to blame ;-) CVS patchset: 7036 CVS date: 2004/10/14 23:25:24
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index b69908384..f48a5a35c 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.129 2004/07/06 22:53:22 miguelfreitas Exp $
+ * $Id: audio_decoder.c,v 1.130 2004/10/14 23:25:24 tmattern Exp $
*
*
* functions that implement audio decoding
@@ -162,11 +162,6 @@ static void *audio_decoder_loop (void *stream_gen) {
pthread_mutex_unlock (&stream->counter_lock);
stream->audio_channel_auto = -1;
- if (!stream->video_thread) {
- /* set engine status, send frontend notification event */
- _x_handle_stream_end (stream, buf->decoder_flags & BUF_FLAG_END_STREAM);
- }
-
break;
case BUF_CONTROL_QUIT: