summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-13 23:02:41 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-13 23:02:41 +0000
commit989188f25474868841d8a5148873a5995be58c6f (patch)
tree5fa96d0d283f44d2ee4e47565f549d599a2745d2 /src/xine-engine/audio_out.c
parentff3df666125a96896d5c9567d1f585146e9f398d (diff)
downloadxine-lib-989188f25474868841d8a5148873a5995be58c6f.tar.gz
xine-lib-989188f25474868841d8a5148873a5995be58c6f.tar.bz2
do not dispose audio and video ports on stream dispose.
CVS patchset: 3906 CVS date: 2003/01/13 23:02:41
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r--src/xine-engine/audio_out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 3ec9d422b..02303da4f 100644
--- a/src/xine-engine/audio_out.c
+++ b/src/xine-engine/audio_out.c
@@ -17,7 +17,7 @@
* along with self program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_out.c,v 1.99 2003/01/11 19:06:52 guenter Exp $
+ * $Id: audio_out.c,v 1.100 2003/01/13 23:02:51 miguelfreitas Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -757,11 +757,11 @@ int xine_get_next_audio_frame (xine_audio_port_t *this_gen,
audio_buffer_t *buf;
xine_stream_t *stream;
- while (!stream) {
+ do {
stream = xine_list_first_content(this->streams);
if (!stream)
xine_usec_sleep (1000);
- }
+ } while( !stream );
pthread_mutex_lock (&this->out_fifo->mutex);