[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.19,1.20
GEREOFFY
arpi_esp at users.sourceforge.net
Sun May 20 23:48:52 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv16563
Modified Files:
vo_xv.c
Log Message:
didn't handle flags parameter correctly
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** vo_xv.c 2001/05/08 12:17:02 1.19
--- vo_xv.c 2001/05/20 21:48:50 1.20
***************
*** 94,98 ****
* allocate colors and (shared) memory
*/
! static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format)
{
int screen;
--- 94,98 ----
* allocate colors and (shared) memory
*/
! static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
{
int screen;
***************
*** 111,115 ****
image_format=format;
! mFullscreen=fullscreen;
dwidth=d_width; dheight=d_height;
--- 111,115 ----
image_format=format;
! mFullscreen=flags&1;
dwidth=d_width; dheight=d_height;
***************
*** 134,138 ****
hint.width = d_width;
hint.height = d_height;
! if ( fullscreen )
{
hint.width=vo_screenwidth;
--- 134,138 ----
hint.width = d_width;
hint.height = d_height;
! if ( mFullscreen )
{
hint.width=vo_screenwidth;
***************
*** 156,160 ****
XSelectInput(mydisplay, mywindow, StructureNotifyMask | KeyPressMask );
XSetStandardProperties(mydisplay, mywindow, hello, hello, None, NULL, 0, &hint);
! if ( fullscreen ) vo_x11_decoration( mydisplay,mywindow,0 );
XMapWindow(mydisplay, mywindow);
XFlush(mydisplay);
--- 156,160 ----
XSelectInput(mydisplay, mywindow, StructureNotifyMask | KeyPressMask );
XSetStandardProperties(mydisplay, mywindow, hello, hello, None, NULL, 0, &hint);
! if ( mFullscreen ) vo_x11_decoration( mydisplay,mywindow,0 );
XMapWindow(mydisplay, mywindow);
XFlush(mydisplay);
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list