changeset 36336:e24ada1fc15f

Fix disabling subtitles by switching through them.
author reimar
date Sun, 25 Aug 2013 17:23:22 +0000
parents f77a74ebb95e
children 805ff0c5b699
files command.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;