1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9091 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-25 11:36:42 +00:00
parent 2484a027b2
commit 430c729f95

View File

@ -1275,7 +1275,15 @@ if(!demuxer)
play_tree_t* entry; play_tree_t* entry;
// Handle playlist // Handle playlist
current_module="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); mp_msg(MSGT_CPLAYER,MSGL_INFO,"Falling back on trying to parse playlist %s...\n",filename);
stream_reset(stream); stream_reset(stream);
stream_seek(stream,stream->start_pos); stream_seek(stream,stream->start_pos);