diff command.c @ 36336:e24ada1fc15f

Fix disabling subtitles by switching through them.
author reimar
date Sun, 25 Aug 2013 17:23:22 +0000
parents 56f576e4a49d
children 0caa0bf428b9
line wrap: on
line diff
--- a/command.c	Sun Aug 25 11:30:45 2013 +0000
+++ b/command.c	Sun Aug 25 17:23:22 2013 +0000
@@ -1552,6 +1552,7 @@
         if (d_sub->id > -2)
             reset_spu = 1;
         d_sub->id = -2;
+        d_sub->sh = NULL;
     }
 #ifdef CONFIG_ASS
     ass_track = 0;