changeset 4335:270cbfe45b30

mpsub dump bug fix. 100l for laaz
author pontscho
date Thu, 24 Jan 2002 15:17:12 +0000
parents 3fb147d59ca6
children 71fa805e84d6
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Jan 24 09:29:52 2002 +0000
+++ b/mplayer.c	Thu Jan 24 15:17:12 2002 +0000
@@ -934,7 +934,7 @@
 d_dvdsub=demuxer->sub;
 
 // DUMP STREAMS:
-if(stream_dump_type){
+if((stream_dump_type)&&(stream_dump_type!=4)){
   FILE *f;
   demux_stream_t *ds=NULL;
   current_module="dump";
@@ -942,8 +942,7 @@
   switch(stream_dump_type){
   case 1: ds=d_audio;break;
   case 2: ds=d_video;break;
-  case 3:
-  case 4: ds=d_dvdsub;break;
+  case 3: ds=d_dvdsub;break;
   }
   if(!ds){        
       mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpSelectedSteramMissing);