diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-22 16:52:47 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-22 16:52:47 +0000 |
commit | cf114f800f1d90c09850d6dbe2b86680d09f439f (patch) | |
tree | cd5159aa5962e0cbbf9e03facae17059e156751e | |
parent | 1885df0886c12ef52286fdca6748635231467aad (diff) | |
download | xine-lib-cf114f800f1d90c09850d6dbe2b86680d09f439f.tar.gz xine-lib-cf114f800f1d90c09850d6dbe2b86680d09f439f.tar.bz2 |
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
-rw-r--r-- | src/demuxers/demux_image.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; } |