diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-26 22:00:49 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-26 22:00:49 +0000 |
commit | bf501e53fd241877e00cfb6031435884fc9364be (patch) | |
tree | dc0d48592c68487bf39e937aec67f84ef8a2a033 /src/demuxers/demux_film.c | |
parent | b730835d1d0ba82856b6c70d83d5572f06dad839 (diff) | |
download | xine-lib-bf501e53fd241877e00cfb6031435884fc9364be.tar.gz xine-lib-bf501e53fd241877e00cfb6031435884fc9364be.tar.bz2 |
make demuxers return their status so xine engine can check if demuxers fail to send headers
CVS patchset: 3026
CVS date: 2002/10/26 22:00:49
Diffstat (limited to 'src/demuxers/demux_film.c')
-rw-r--r-- | src/demuxers/demux_film.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index 28d9af15e..02f5e9063 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.37 2002/10/24 22:48:25 guenter Exp $ + * $Id: demux_film.c,v 1.38 2002/10/26 22:00:51 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -723,7 +723,7 @@ static void demux_film_dispose (demux_plugin_t *this_gen) { static int demux_film_get_status (demux_plugin_t *this_gen) { demux_film_t *this = (demux_film_t *) this_gen; - return (this->thread_running?DEMUX_OK:DEMUX_FINISHED); + return this->status; } static int demux_film_get_stream_length (demux_plugin_t *this_gen) { |