diff options
-rw-r--r-- | src/xine-engine/audio_decoder.c | 4 | ||||
-rw-r--r-- | src/xine-engine/video_decoder.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 2e4c9f5c8..0aea0e278 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.64 2002/03/11 12:31:26 guenter Exp $ + * $Id: audio_decoder.c,v 1.65 2002/03/11 19:49:07 jkeil Exp $ * * * functions that implement audio decoding @@ -98,7 +98,7 @@ void *audio_decoder_loop (void *this_gen) { pthread_mutex_lock (&this->finished_lock); - if (!this->audio_finished && (buf->decoder_flags==BUF_FLAG_END_USER)) { + if (!this->audio_finished && (buf->decoder_flags & (BUF_FLAG_END_STREAM | BUF_FLAG_END_USER))) { this->audio_finished = 1; if (this->video_finished) { diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index cd8e14142..66421fecb 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_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: video_decoder.c,v 1.76 2002/03/11 12:31:26 guenter Exp $ + * $Id: video_decoder.c,v 1.77 2002/03/11 19:49:07 jkeil Exp $ * */ @@ -155,7 +155,7 @@ void *video_decoder_loop (void *this_gen) { pthread_mutex_lock (&this->finished_lock); this->spu_finished = 1; - if (!this->video_finished && (buf->decoder_flags==BUF_FLAG_END_STREAM)) { + if (!this->video_finished && (buf->decoder_flags & (BUF_FLAG_END_STREAM | BUF_FLAG_END_USER))) { this->video_finished = 1; |