# HG changeset patch # User reimar # Date 1161474341 0 # Node ID 0bc1f3c65d9fd8827efa9cee1a177dfa9072c61d # Parent 9d88396480bb6e24d1503050105171c4011e9ea0 Do not forget to clear subtitles when switching files for embedded subtitles. Fixes bug #409. diff -r 9d88396480bb -r 0bc1f3c65d9f mplayer.c --- 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) {