changeset 20341:0bc1f3c65d9f

Do not forget to clear subtitles when switching files for embedded subtitles. Fixes bug #409.
author reimar
date Sat, 21 Oct 2006 23:45:41 +0000
parents 9d88396480bb
children 2357bde391b7
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Oct 21 21:57:15 2006 +0000
+++ b/mplayer.c	Sat Oct 21 23:45:41 2006 +0000
@@ -5532,12 +5532,12 @@
 #endif
     }
     set_of_sub_size = 0;
+   }
     vo_sub_last = vo_sub=NULL;
     subdata=NULL;
 #ifdef USE_ASS
     ass_track = NULL;
 #endif
-   }
 #endif
 
 if(eof == PT_NEXT_ENTRY || eof == PT_PREV_ENTRY) {