[MPlayer-cvslog] r38068 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Thu Apr 12 15:18:18 EEST 2018


Author: ib
Date: Thu Apr 12 15:18:18 2018
New Revision: 38068

Log:
Don't disallow loading a subtitle when playback is stopped.

Actually, a subtitle has to be loaded before the playback.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Apr 12 15:15:11 2018	(r38067)
+++ trunk/gui/interface.c	Thu Apr 12 15:18:18 2018	(r38068)
@@ -1386,9 +1386,6 @@ void mplayer(int what, float value, void
 
 void mplayerLoadSubtitle(const char *name)
 {
-    if (guiInfo.Playing == GUI_STOP)
-        return;
-
     if (subdata) {
         mp_msg(MSGT_GPLAYER, MSGL_INFO, MSGTR_GUI_MSG_RemovingSubtitle);
 


More information about the MPlayer-cvslog mailing list