summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-31 13:29:26 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-31 13:29:26 +0000
commitbf8fb7478f0064608ddd67308bd8681286ab9ad8 (patch)
tree137229fdf6a7483e9e9c9260995bcd2d79193908 /Gui
parentdb4531add416a77f6ebb8ac94e6f865c6d5bacee (diff)
downloadmpv-bf8fb7478f0064608ddd67308bd8681286ab9ad8.tar.bz2
mpv-bf8fb7478f0064608ddd67308bd8681286ab9ad8.tar.xz
fix flip handling bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7195 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/gtk/opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/opts.c b/Gui/mplayer/gtk/opts.c
index deff538105..0a91de2d78 100644
--- a/Gui/mplayer/gtk/opts.c
+++ b/Gui/mplayer/gtk/opts.c
@@ -190,7 +190,8 @@ void ShowPreferences( void )
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;