* There was a problem where deinterlace could not be turned off via it's
authorDerk-Jan Hartman <hartman@videolan.org>
Sat, 19 Apr 2003 12:33:01 +0000 (12:33 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sat, 19 Apr 2003 12:33:01 +0000 (12:33 +0000)
  corresponding menu. On thy fly filter changes are still not possible.

modules/gui/macosx/controls.m

index ee88c01..838a603 100644 (file)
@@ -2,7 +2,7 @@
  * controls.m: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: controls.m,v 1.31 2003/04/15 14:05:13 hartman Exp $
+ * $Id: controls.m,v 1.32 2003/04/19 12:33:01 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
     intf_thread_t * p_intf = [NSApp getIntf];
     BOOL bEnable = [sender state] == NSOffState;
 
-    if( bEnable )
+    if( bEnable && ![[sender title] isEqualToString: @"none"] )
     {
         config_PutPsz( p_intf, "filter", "deinterlace" );
        config_PutPsz( p_intf, "deinterlace-mode",