[MPlayer-cvslog] r36921 - trunk/gui/dialog/preferences.c

ib subversion at mplayerhq.hu
Mon Feb 24 12:55:42 CET 2014


Author: ib
Date: Mon Feb 24 12:55:42 2014
New Revision: 36921

Log:
Limit fps to a (hopefully) reasonable value.

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Mon Feb 24 12:28:34 2014	(r36920)
+++ trunk/gui/dialog/preferences.c	Mon Feb 24 12:55:42 2014	(r36921)
@@ -739,7 +739,7 @@ static GtkWidget * CreatePreferences( vo
   HSPanscan=gtkAddHScale( HSPanscanadj,NULL,1 );
     gtk_table_attach( GTK_TABLE( table1 ),HSPanscan,1,2,0,1,(GtkAttachOptions)( GTK_EXPAND | GTK_FILL ),(GtkAttachOptions)( 0 ),0,0 );
 
-  HSFPSadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,0,1000,0.001,0,0 ) );
+  HSFPSadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,0,120,0.001,0,0 ) );
   HSFPS=gtk_spin_button_new( GTK_ADJUSTMENT( HSFPSadj ),1,3 );
     gtk_widget_show( HSFPS );
     gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( HSFPS ),TRUE );


More information about the MPlayer-cvslog mailing list