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

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


Author: ib
Date: Thu Apr 12 15:15:11 2018
New Revision: 38067

Log:
Don't use guiInfo.SubtitleFilename as a copy of subdata.

subdata is the file based subtitle currently displayed whereas
guiInfo.SubtitleFilename is a subtitle loaded by evLoadSubtitle.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Apr 12 14:29:17 2018	(r38066)
+++ trunk/gui/interface.c	Thu Apr 12 15:15:11 2018	(r38067)
@@ -347,9 +347,6 @@ void guiInit(void)
         filename       = NULL; // don't start playing
     }
 
-    if (subdata)
-        setdup(&guiInfo.SubtitleFilename, subdata->filename);
-
     orig_fontconfig = font_fontconfig;
     set_fontconfig();
 
@@ -755,7 +752,6 @@ int gui(int what, void *data)
 
         /* subtitle */
 
-// subdata->filename=gstrdup( guiInfo.SubtitleFilename );
         stream_dump_type = 0;
 
         if (gtkSubDumpMPSub)


More information about the MPlayer-cvslog mailing list