changeset 7194:6df5abe8d967

fix flip handling bug
author alex
date Sat, 31 Aug 2002 13:29:26 +0000
parents 624cab9f7359
children a5b2566f3c2b
files Gui/mplayer/gtk/opts.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c	Sat Aug 31 13:22:03 2002 +0000
+++ b/Gui/mplayer/gtk/opts.c	Sat Aug 31 13:29:26 2002 +0000
@@ -190,7 +190,8 @@
    case 1: gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBFramedrop ),TRUE );
   }
 
- gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBFlip ),flip );
+ if (flip != -1)
+    gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBFlip ),flip );
  gtk_adjustment_set_value( HSPanscanadj,vo_panscan );
  {
   int i = 0, c = 0;