[MPlayer-cvslog] r29895 - trunk/command.c

reimar subversion at mplayerhq.hu
Wed Nov 11 12:09:36 CET 2009


Author: reimar
Date: Wed Nov 11 12:09:36 2009
New Revision: 29895

Log:
Avoid modifying dvdsub_id in command.c where possible.

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Wed Nov 11 10:28:21 2009	(r29894)
+++ trunk/command.c	Wed Nov 11 12:09:36 2009	(r29895)
@@ -1498,8 +1498,8 @@ static int mp_property_sub(m_option_t * 
 	&& (mpctx->stream->type == STREAMTYPE_DVD
 	    || mpctx->stream->type == STREAMTYPE_DVDNAV)
 	&& dvdsub_id < 0 && reset_spu) {
-	dvdsub_id = -2;
-	d_sub->id = dvdsub_id;
+	d_sub->id = -2;
+	d_sub->sh = NULL;
     }
 #endif
     if (mpctx->sh_audio)


More information about the MPlayer-cvslog mailing list