From 430c729f955d409fba103e49ec92297bb9ee0673 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 25 Jan 2003 11:36:42 +0000 Subject: [PATCH] 1000l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9091 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index d7a6337bd3..01f8f430ee 100644 --- a/mplayer.c +++ b/mplayer.c @@ -1275,7 +1275,15 @@ if(!demuxer) play_tree_t* entry; // Handle playlist current_module="handle_playlist"; - if ( stream->type != STREAMTYPE_PLAYLIST ) goto goto_next_file; + switch(stream->type){ + case STREAMTYPE_VCD: + case STREAMTYPE_DVD: + case STREAMTYPE_DVDNAV: + case STREAMTYPE_CDDA: + case STREAMTYPE_VCDBINCUE: + // don't try to parse raw media as playlist, it's unlikely + goto goto_next_file; + } mp_msg(MSGT_CPLAYER,MSGL_INFO,"Falling back on trying to parse playlist %s...\n",filename); stream_reset(stream); stream_seek(stream,stream->start_pos);