summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 15:44:51 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 15:44:51 +0000
commitea1d75800931055c8a04cf76e8b6c914c2ed3e23 (patch)
tree706a97f1da37f85a262bf10db23d8799eba37140 /mplayer.c
parent49a76c3a0d9d9797f59959703a325e10b102bd98 (diff)
downloadmpv-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index ca13bbd92c..23ebbc7831 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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)