[MPlayer-cvslog] r36925 - in trunk/gui: app/cfg.c dialog/preferences.c
ib
subversion at mplayerhq.hu
Mon Feb 24 13:33:45 CET 2014
Author: ib
Date: Mon Feb 24 13:33:45 2014
New Revision: 36925
Log:
Enable setting full ass margin value ranges.
These options allow a range of 0..2000.
Modified:
trunk/gui/app/cfg.c
trunk/gui/dialog/preferences.c
Modified: trunk/gui/app/cfg.c
==============================================================================
--- trunk/gui/app/cfg.c Mon Feb 24 13:23:14 2014 (r36924)
+++ trunk/gui/app/cfg.c Mon Feb 24 13:33:45 2014 (r36925)
@@ -238,8 +238,8 @@ static const m_option_t gui_opts[] = {
#ifdef CONFIG_ASS
{ "ass_enabled", &ass_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL },
{ "ass_use_margins", &ass_use_margins, CONF_TYPE_FLAG, 0, 0, 1, NULL },
- { "ass_top_margin", &ass_top_margin, CONF_TYPE_INT, CONF_RANGE, 0, 512, NULL },
- { "ass_bottom_margin", &ass_bottom_margin, CONF_TYPE_INT, CONF_RANGE, 0, 512, NULL },
+ { "ass_top_margin", &ass_top_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL },
+ { "ass_bottom_margin", &ass_bottom_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL },
#endif
{ NULL, NULL, 0, 0, 0, 0, NULL }
Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c Mon Feb 24 13:23:14 2014 (r36924)
+++ trunk/gui/dialog/preferences.c Mon Feb 24 13:33:45 2014 (r36925)
@@ -869,13 +869,13 @@ static GtkWidget * CreatePreferences( vo
gtk_box_pack_start( GTK_BOX( hbox9 ),hbox91,TRUE,FALSE,0 );
gtk_widget_show( hbox91 );
SBASSTopMargin=gtkAddSpinButton( MSGTR_GUI_Top":",
- (GtkAdjustment *)gtk_adjustment_new(0,0,512,1,8,0),hbox91 );
+ (GtkAdjustment *)gtk_adjustment_new(0,0,2000,1,8,0),hbox91 );
hbox92=gtk_hbox_new( FALSE,0 );
gtk_box_pack_start( GTK_BOX( hbox9 ),hbox92,TRUE,FALSE,0 );
gtk_widget_show( hbox92 );
SBASSBottomMargin=gtkAddSpinButton( MSGTR_GUI_Bottom":",
- (GtkAdjustment *)gtk_adjustment_new(0,0,512,1,8,0),hbox92 );
+ (GtkAdjustment *)gtk_adjustment_new(0,0,2000,1,8,0),hbox92 );
label=gtkAddLabel( MSGTR_GUI_OSD_Subtitles,NULL );
gtk_notebook_set_tab_label( GTK_NOTEBOOK( notebook1 ),gtk_notebook_get_nth_page( GTK_NOTEBOOK( notebook1 ),2 ),label );
More information about the MPlayer-cvslog
mailing list