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_ts.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_ts.c')
| -rw-r--r-- | src/demuxers/demux_ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c index 2c56b1fbc..c6f316adc 100644 --- a/src/demuxers/demux_ts.c +++ b/src/demuxers/demux_ts.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_ts.c,v 1.57 2002/10/12 17:11:59 jkeil Exp $ + * $Id: demux_ts.c,v 1.58 2002/10/26 22:00:54 guenter Exp $ * * Demultiplexer for MPEG2 Transport Streams. * @@ -1408,7 +1408,7 @@ static int demux_ts_get_status(demux_plugin_t *this_gen) { demux_ts *this = (demux_ts *)this_gen; - return (this->thread_running?DEMUX_OK:DEMUX_FINISHED); + return this->status; } static int demux_ts_open(demux_plugin_t *this_gen, input_plugin_t *input, |
