diff options
author | laaz <laaz@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-12 16:21:55 +0000 |
---|---|---|
committer | laaz <laaz@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-12 16:21:55 +0000 |
commit | 987514c60174563a090b687d3fc15014da47be31 (patch) | |
tree | 34cb52bfab86d233ef951206e6a573d772747571 /mplayer.c | |
parent | a30a8a7365ad377317f638b950b3b7589e77e9a8 (diff) | |
download | mpv-987514c60174563a090b687d3fc15014da47be31.tar.bz2 mpv-987514c60174563a090b687d3fc15014da47be31.tar.xz |
MPsub read/write support 0.5 (-dumpmpsub switch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2179 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -672,6 +672,7 @@ play_next_file: #endif if(subtitles && stream_dump_type==3) list_sub_file(subtitles); + if(subtitles && stream_dump_type==4) dump_mpsub(subtitles); stream=NULL; demuxer=NULL; @@ -796,7 +797,8 @@ if(stream_dump_type){ switch(stream_dump_type){ case 1: ds=d_audio;break; case 2: ds=d_video;break; - case 3: ds=d_dvdsub;break; + case 3: + case 4: ds=d_dvdsub;break; } if(!ds){ mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpSelectedSteramMissing); |