Commit 8556d7ee authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* modules/gui/macosx/prefs.m: fixed the module selectors.

* 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.
parent b52970e2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* prefs.m: MacOS X plugin for vlc * prefs.m: MacOS X plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002-2003 VideoLAN * 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> * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj at users.sf.net> * Derk-Jan Hartman <thedj at users.sf.net>
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
localizedString: p_a_module->psz_longname]; localizedString: p_a_module->psz_longname];
[o_modules addItemWithTitle: o_description]; [o_modules addItemWithTitle: o_description];
[[o_modules lastItem] setTag: p_a_module->i_object_id]; [[o_modules lastItem] setTag: p_a_module->i_object_id];
NSLog(@"%@", [[o_modules lastItem] title]);
if( p_item->psz_value && if( p_item->psz_value &&
!strcmp( p_item->psz_value, p_a_module->psz_object_name ) ) !strcmp( p_item->psz_value, p_a_module->psz_object_name ) )
{ {
...@@ -371,18 +371,6 @@ NSLog(@"%@", [[o_modules lastItem] title]); ...@@ -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 ); CONTROL_LABEL( p_item->psz_text );
s_rc.origin.y += s_rc.size.height; s_rc.origin.y += s_rc.size.height;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* crop.c : Crop video plugin for vlc * crop.c : Crop video plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN * 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> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -52,7 +52,7 @@ static int SendEvents( vlc_object_t *, char const *, ...@@ -52,7 +52,7 @@ static int SendEvents( vlc_object_t *, char const *,
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
#define GEOMETRY_TEXT N_("Crop geometry") #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_TEXT N_("Automatic cropping")
#define AUTOCROP_LONGTEXT N_("Activate automatic black border cropping") #define AUTOCROP_LONGTEXT N_("Activate automatic black border cropping")
......
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