From bf501e53fd241877e00cfb6031435884fc9364be Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 26 Oct 2002 22:00:49 +0000 Subject: 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 --- src/demuxers/demux_film.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demuxers/demux_film.c') 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) { -- cgit v1.2.3