From b6243f0f7673b6022177e22e7b754677d389de7e Mon Sep 17 00:00:00 2001 From: pontscho Date: Thu, 24 Jan 2002 15:17:12 +0000 Subject: [PATCH] mpsub dump bug fix. 100l for laaz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4336 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mplayer.c b/mplayer.c index afd7f74fd2..4f8e2f8b5b 100644 --- a/mplayer.c +++ b/mplayer.c @@ -934,7 +934,7 @@ d_video=demuxer->video; 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 @@ if(stream_dump_type){ 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);