]> git.sesse.net Git - vlc/commitdiff
* modules/gui/macosx/prefs.m: fixed the module selectors.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 26 May 2003 02:03:10 +0000 (02:03 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 26 May 2003 02:03:10 +0000 (02:03 +0000)
* modules/video_filter/crop.c: clarified the use of crop. someone please
  check, i'm not entirely sure this is correct. Actually i think we should
  split this up in more then one config item, for GUI preferences clarity.
  Something like crop-width, crop-height, crop-h-offset, crop-v-offset, or
  like ffmpeg has which uses left, right, top and bottom offsets.

modules/gui/macosx/prefs.m
modules/video_filter/crop.c

index bdabc45ed1b1875e312094df2d7a006a9597a7f9..fe40e0d67adad24e1442648f4f8b8316413d63ea 100644 (file)
@@ -2,7 +2,7 @@
  * prefs.m: MacOS X plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: prefs.m,v 1.28 2003/05/26 01:25:12 hartman Exp $
+ * $Id: prefs.m,v 1.29 2003/05/26 02:03:10 hartman Exp $
  *
  * Authors:    Jon Lech Johansen <jon-vl@nanocrew.net>
  *             Derk-Jan Hartman <thedj at users.sf.net>
                                 localizedString: p_a_module->psz_longname];
                             [o_modules addItemWithTitle: o_description];
                             [[o_modules lastItem] setTag: p_a_module->i_object_id];
-NSLog(@"%@", [[o_modules lastItem] title]);
+
                             if( p_item->psz_value &&
                                 !strcmp( p_item->psz_value, p_a_module->psz_object_name ) )
                             {
@@ -371,18 +371,6 @@ NSLog(@"%@", [[o_modules lastItem] title]);
                         }
                     }
                 }
-    
-                if( p_item->psz_value != NULL )
-                {
-                    NSString *o_value =
-                        [NSApp localizedString: p_item->psz_value];
-    
-                    [o_modules selectItemWithTitle: o_value];
-                }
-                else
-                {
-                    [o_modules selectItemWithTitle: _NS("None")];
-                }
 
                 CONTROL_LABEL( p_item->psz_text );
                 s_rc.origin.y += s_rc.size.height;
index 506b719e1eb3e605dc85d9557fae9fa65f48f872..7f4ae0692769af93497d50b10bd908e8f3b8e405 100644 (file)
@@ -2,7 +2,7 @@
  * crop.c : Crop video plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002, 2003 VideoLAN
- * $Id: crop.c,v 1.11 2003/05/15 22:27:37 massiot Exp $
+ * $Id: crop.c,v 1.12 2003/05/26 02:03:10 hartman Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -52,7 +52,7 @@ static int  SendEvents( vlc_object_t *, char const *,
  * Module descriptor
  *****************************************************************************/
 #define GEOMETRY_TEXT N_("Crop geometry")
-#define GEOMETRY_LONGTEXT N_("Set the geometry of the zone to crop")
+#define GEOMETRY_LONGTEXT N_("Set the geometry of the zone to crop. This is set as width x heigth + left offset + top offset.")
 
 #define AUTOCROP_TEXT N_("Automatic cropping")
 #define AUTOCROP_LONGTEXT N_("Activate automatic black border cropping")