[MPlayer-cvslog] r38087 - in trunk/gui: interface.c win32/dialogs.c

ib subversion at mplayerhq.hu
Fri Apr 13 13:52:24 EEST 2018


Author: ib
Date: Fri Apr 13 13:52:24 2018
New Revision: 38087

Log:
Change unreasonable argument.

Assume 25 fps.

Modified:
   trunk/gui/interface.c
   trunk/gui/win32/dialogs.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Fri Apr 13 13:47:58 2018	(r38086)
+++ trunk/gui/interface.c	Fri Apr 13 13:52:24 2018	(r38087)
@@ -1397,7 +1397,7 @@ void mplayerLoadSubtitle(const char *nam
     if (name) {
         mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_GUI_MSG_LoadingSubtitle, name);
 
-        subdata = sub_read_file(name, guiInfo.sh_video ? guiInfo.sh_video->fps : 0);
+        subdata = sub_read_file(name, guiInfo.sh_video ? guiInfo.sh_video->fps : 25);
 
         if (!subdata) {
             gmp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_CantLoadSub, name);

Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c	Fri Apr 13 13:47:58 2018	(r38086)
+++ trunk/gui/win32/dialogs.c	Fri Apr 13 13:52:24 2018	(r38087)
@@ -64,7 +64,7 @@ void mplayerLoadSubtitle(const char *nam
         name = unix_name(name);
 #endif
         mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_GUI_MSG_LoadingSubtitle, name);
-        subdata = sub_read_file(name, (guiInfo.sh_video ? guiInfo.sh_video->fps : 0));
+        subdata = sub_read_file(name, (guiInfo.sh_video ? guiInfo.sh_video->fps : 25));
         if (!subdata)
         {
             mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_CantLoadSub,name);


More information about the MPlayer-cvslog mailing list