diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-21 15:44:51 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-21 15:44:51 +0000 |
commit | ea1d75800931055c8a04cf76e8b6c914c2ed3e23 (patch) | |
tree | 706a97f1da37f85a262bf10db23d8799eba37140 /mplayer.c | |
parent | 49a76c3a0d9d9797f59959703a325e10b102bd98 (diff) | |
download | mpv-ea1d75800931055c8a04cf76e8b6c914c2ed3e23.tar.bz2 mpv-ea1d75800931055c8a04cf76e8b6c914c2ed3e23.tar.xz |
Fix automatic vobsub detection and make it silent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4788 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -766,7 +766,7 @@ play_dvd: current_module="vobsub"; if (vobsub_name){ - vo_vobsub=vobsub_open(vobsub_name); + vo_vobsub=vobsub_open(vobsub_name,1); if(vo_vobsub==NULL) mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantLoadSub,vobsub_name); }else if(sub_auto && filename && (strlen(filename)>=5)){ @@ -774,7 +774,7 @@ play_dvd: char *buf = malloc((strlen(filename)-3) * sizeof(char)); memset(buf,0,strlen(filename)-3); // make sure string is terminated strncpy(buf, filename, strlen(filename)-4); - vo_vobsub=vobsub_open(buf); + vo_vobsub=vobsub_open(buf,0); free(buf); } if(vo_vobsub) |