Commit b06e5e49 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* There was a problem where deinterlace could not be turned off via it's

  corresponding menu. On thy fly filter changes are still not possible.
parent 2f926206
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* controls.m: MacOS X interface plugin * controls.m: MacOS X interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2002-2003 VideoLAN * 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> * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr> * Christophe Massiot <massiot@via.ecp.fr>
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
intf_thread_t * p_intf = [NSApp getIntf]; intf_thread_t * p_intf = [NSApp getIntf];
BOOL bEnable = [sender state] == NSOffState; BOOL bEnable = [sender state] == NSOffState;
if( bEnable ) if( bEnable && ![[sender title] isEqualToString: @"none"] )
{ {
config_PutPsz( p_intf, "filter", "deinterlace" ); config_PutPsz( p_intf, "filter", "deinterlace" );
config_PutPsz( p_intf, "deinterlace-mode", config_PutPsz( p_intf, "deinterlace-mode",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment