aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-25 11:36:42 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-25 11:36:42 +0000
commit430c729f955d409fba103e49ec92297bb9ee0673 (patch)
treed21f70c1536cdee6e78121c5a7fbfa1c46086e30
parent2484a027b282fdf7dea1af1830841e7b6d0642b9 (diff)
1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9091 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c10
1 files changed, 9 insertions, 1 deletions
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);