summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_mpeg.c4
-rw-r--r--src/demuxers/demux_mpeg_block.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index b71d094d4..5ce7cc26a 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.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_mpeg.c,v 1.90 2002/10/26 22:00:51 guenter Exp $
+ * $Id: demux_mpeg.c,v 1.91 2002/10/27 00:01:13 guenter Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -895,6 +895,8 @@ static void demux_mpeg_send_headers (demux_plugin_t *this_gen) {
} while ( (this->status == DEMUX_OK) && (num_buffers > 0));
+ this->status = DEMUX_OK ;
+
this->stream->stream_info[XINE_STREAM_INFO_BITRATE] = this->rate * 50 * 8;
xine_demux_control_headers_done (this->stream);
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c
index 480f34650..c06e373ff 100644
--- a/src/demuxers/demux_mpeg_block.c
+++ b/src/demuxers/demux_mpeg_block.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_mpeg_block.c,v 1.130 2002/10/26 22:00:52 guenter Exp $
+ * $Id: demux_mpeg_block.c,v 1.131 2002/10/27 00:01:14 guenter Exp $
*
* demultiplexer for mpeg 1/2 program streams
*
@@ -921,7 +921,7 @@ static void demux_mpeg_block_send_headers (demux_plugin_t *this_gen) {
num_buffers --;
}
}
- this->status = DEMUX_FINISHED;
+ this->status = DEMUX_OK;
this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 1;
this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1;