diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-27 15:30:16 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-27 15:30:16 +0000 |
commit | d73d76c492549f4426802badc80dc9d8cebe1911 (patch) | |
tree | 3a7210f65bd8b410a7647e172e85c480c6e7d5e3 /src/demuxers/demux_mpgaudio.c | |
parent | 25305d0fadd6343a55c61194dd195670c1616399 (diff) | |
download | xine-lib-d73d76c492549f4426802badc80dc9d8cebe1911.tar.gz xine-lib-d73d76c492549f4426802badc80dc9d8cebe1911.tar.bz2 |
fix non-stop bug
CVS patchset: 1640
CVS date: 2002/03/27 15:30:16
Diffstat (limited to 'src/demuxers/demux_mpgaudio.c')
-rw-r--r-- | src/demuxers/demux_mpgaudio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index bd609df4d..4a3052c0f 100644 --- a/src/demuxers/demux_mpgaudio.c +++ b/src/demuxers/demux_mpgaudio.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: demux_mpgaudio.c,v 1.36 2002/03/11 12:31:24 guenter Exp $ + * $Id: demux_mpgaudio.c,v 1.37 2002/03/27 15:30:16 miguelfreitas Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -220,13 +220,13 @@ static void *demux_mpgaudio_loop (void *this_gen) { if (this->send_end_buffers) { buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); buf->type = BUF_CONTROL_END; - buf->decoder_info[0] = 0; /* stream finished */ + buf->decoder_flags = BUF_FLAG_END_STREAM; this->video_fifo->put (this->video_fifo, buf); if(this->audio_fifo) { buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); buf->type = BUF_CONTROL_END; - buf->decoder_info[0] = 0; /* stream finished */ + buf->decoder_flags = BUF_FLAG_END_STREAM; this->audio_fifo->put (this->audio_fifo, buf); } } @@ -259,13 +259,13 @@ static void demux_mpgaudio_stop (demux_plugin_t *this_gen) { buf = this->video_fifo->buffer_pool_alloc (this->video_fifo); buf->type = BUF_CONTROL_END; - buf->decoder_info[0] = 1; /* forced */ + buf->decoder_flags = BUF_FLAG_END_USER; this->video_fifo->put (this->video_fifo, buf); if(this->audio_fifo) { buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); buf->type = BUF_CONTROL_END; - buf->decoder_info[0] = 1; /* forced */ + buf->decoder_flags = BUF_FLAG_END_USER; this->audio_fifo->put (this->audio_fifo, buf); } } |