From cf114f800f1d90c09850d6dbe2b86680d09f439f Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 22 Oct 2003 16:52:47 +0000 Subject: I used xine-ui to show the slides on my presentation and found it more useful, when the image demuxer shows an image for ever so that it has to be stopped explicitly CVS patchset: 5572 CVS date: 2003/10/22 16:52:47 --- src/demuxers/demux_image.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_image.c b/src/demuxers/demux_image.c index 89e3f26f6..956d4aa05 100644 --- a/src/demuxers/demux_image.c +++ b/src/demuxers/demux_image.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_image.c,v 1.6 2003/07/25 21:02:05 miguelfreitas Exp $ + * $Id: demux_image.c,v 1.7 2003/10/22 16:52:47 mroi Exp $ * * image dummy demultiplexer */ @@ -74,13 +74,12 @@ static int demux_image_send_chunk (demux_plugin_t *this_gen) { if (buf->size <= 0) { buf->free_buffer(buf); - this->status = DEMUX_FINISHED; + xine_usec_sleep(250000); } else { lprintf("got %i bytes\n", buf->size); - this->video_fifo->put (this->video_fifo, buf); - this->status = DEMUX_OK; } + this->status = DEMUX_OK; return this->status; } -- cgit v1.2.3