[Mplayer-cvslog] CVS: main mplayer.c,1.662,1.663

Arpi of Ize arpi at mplayerhq.hu
Sat Jan 25 12:36:45 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv5562

Modified Files:
	mplayer.c 
Log Message:
1000l


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.662
retrieving revision 1.663
diff -u -r1.662 -r1.663
--- mplayer.c	25 Jan 2003 10:03:50 -0000	1.662
+++ mplayer.c	25 Jan 2003 11:36:42 -0000	1.663
@@ -1275,7 +1275,15 @@
   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);



More information about the MPlayer-cvslog mailing list