changeset 3560:61e0e3ecf47a

kurva sub fix.
author pontscho
date Mon, 17 Dec 2001 16:05:36 +0000
parents f61dcc63be5f
children 40060e4770f3
files mplayer.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Dec 17 15:50:36 2001 +0000
+++ b/mplayer.c	Mon Dec 17 16:05:36 2001 +0000
@@ -663,10 +663,13 @@
 	usleep(20000);
 	EventHandling();
       }
-      
+
 #ifdef USE_SUB
       if ( mplShMem->SubtitleChanged || !mplShMem->FilenameChanged )
-       { sub_name=mplShMem->Subtitlename; mplShMem->SubtitleChanged=0; }
+       {
+        if ( mplShMem->Subtitlename[0] != 0 ) sub_name=mplShMem->Subtitlename;
+        mplShMem->SubtitleChanged=0;
+       }
 #endif
 
       if ( mplShMem->FilenameChanged || !filename )