diff options
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r-- | src/xine-engine/audio_out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index 5897963ab..2b5e0973e 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.95 2002/12/27 03:40:07 miguelfreitas Exp $ + * $Id: audio_out.c,v 1.96 2003/01/09 02:44:39 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> @@ -302,7 +302,7 @@ static void ao_fill_gap (aos_t *this, int64_t pts_len) { return; } - while (num_frames > 0) { + while (num_frames > 0 && !this->discard_buffers) { if (num_frames > ZERO_BUF_SIZE) { pthread_mutex_lock( &this->driver_lock ); this->driver->write(this->driver, this->zero_space, ZERO_BUF_SIZE); |