[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk menu.c,1.18,1.19

Zoltan Ponekker pontscho at mplayerhq.hu
Sat Sep 28 23:16:15 CEST 2002


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv8638/Gui/mplayer/gtk

Modified Files:
	menu.c 
Log Message:
add aspect changing support

Index: menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/menu.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- menu.c	30 Aug 2002 19:11:03 -0000	1.18
+++ menu.c	28 Sep 2002 21:16:12 -0000	1.19
@@ -258,7 +258,7 @@
 GtkWidget * DVDChapterMenu;
 GtkWidget * DVDAudioLanguageMenu;
 GtkWidget * DVDSubtitleLanguageMenu;
-
+GtkWidget * AspectMenu;
 GtkWidget * VCDSubMenu;
 GtkWidget * VCDTitleMenu;
 
@@ -388,6 +388,12 @@
         gtk_widget_set_sensitive( MenuItem,FALSE );
        }
 #endif
+  AspectMenu=AddSubMenu( Menu,"Aspect ratio" );
+  AddMenuItem( AspectMenu,"Original",( 1 << 16 ) + evSetAspect );
+  AddMenuItem( AspectMenu,"16:9",( 2 << 16 ) + evSetAspect );
+  AddMenuItem( AspectMenu,"4:3",( 3 << 16 ) + evSetAspect );
+  AddMenuItem( AspectMenu,"2.35",( 4 << 16 ) + evSetAspect );
+
   AddSeparator( Menu );
   AddMenuItem( Menu,"Mute", evMute );
   AddMenuItem( Menu,MSGTR_MENU_PlayList, evPlayList );




More information about the MPlayer-cvslog mailing list