From 74641d0374d17b28fb4636f890bd62e43c9a603c Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Tue, 14 Jan 2003 00:10:28 +0000 Subject: move default handled flag to xine.c. this fixes false alarm with -A null. CVS patchset: 3909 CVS date: 2003/01/14 00:10:28 --- src/xine-engine/xine.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/xine.c') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index dfabc315b..1b77f7361 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.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: xine.c,v 1.220 2003/01/13 23:03:13 miguelfreitas Exp $ + * $Id: xine.c,v 1.221 2003/01/14 00:10:31 miguelfreitas Exp $ * * top-level xine functions * @@ -721,6 +721,12 @@ static int xine_open_internal (xine_stream_t *stream, const char *mrl) { extra_info_reset( stream->video_decoder_extra_info ); extra_info_reset( stream->audio_decoder_extra_info ); + /* assume handled for now. we will only know for sure after trying + * to init decoders (which should happen when headers are sent) + */ + stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; + stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = 1; + /* * send and decode headers */ -- cgit v1.2.3