[Mplayer-cvslog] CVS: main mplayer.c,1.113,1.114

Felix Buenemann atmosfear at users.sourceforge.net
Fri May 11 16:40:21 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv16761

Modified Files:
	mplayer.c 
Log Message:
Added -flip passing to init.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -r1.113 -r1.114
*** mplayer.c	2001/05/11 01:22:35	1.113
--- mplayer.c	2001/05/11 14:40:19	1.114
***************
*** 476,479 ****
--- 476,480 ----
  int vidmode=0;
  int softzoom=0;
+ int flip=0;
  int screen_size_x=0;//SCREEN_SIZE_X;
  int screen_size_y=0;//SCREEN_SIZE_Y;
***************
*** 1224,1241 ****
  
     { const vo_info_t *info = video_out->get_info();
!      printf("VO: [%s] %dx%d => %dx%d %s%s%s ",info->short_name,
           sh_video->disp_w,sh_video->disp_h,
           screen_size_x,screen_size_y,
           fullscreen?"fs ":"",
           vidmode?"vm ":"",
!          softzoom?"zoom ":""
! //         fullscreen|(vidmode<<1)|(softzoom<<2)
       );
       if((out_fmt&IMGFMT_BGR_MASK)==IMGFMT_BGR)
         printf("BGR%d\n",out_fmt&255); else
!      if((out_fmt&IMGFMT_BGR_MASK)==IMGFMT_RGB)
         printf("RGB%d\n",out_fmt&255); else
       if(out_fmt==IMGFMT_YUY2) printf("YUY2\n"); else
       if(out_fmt==IMGFMT_UYVY) printf("UYVY\n"); else
       if(out_fmt==IMGFMT_I420) printf("I420\n"); else
       if(out_fmt==IMGFMT_IYUV) printf("IYUV\n"); else
--- 1225,1244 ----
  
     { const vo_info_t *info = video_out->get_info();
!      printf("VO: [%s] %dx%d => %dx%d %s%s%s%s ",info->short_name,
           sh_video->disp_w,sh_video->disp_h,
           screen_size_x,screen_size_y,
           fullscreen?"fs ":"",
           vidmode?"vm ":"",
!          softzoom?"zoom ":"",
!          flip?"flip ":""
! //         fullscreen|(vidmode<<1)|(softzoom<<2)|(flip<<3)
       );
       if((out_fmt&IMGFMT_BGR_MASK)==IMGFMT_BGR)
         printf("BGR%d\n",out_fmt&255); else
!      if((out_fmt&IMGFMT_RGB_MASK)==IMGFMT_RGB)
         printf("RGB%d\n",out_fmt&255); else
       if(out_fmt==IMGFMT_YUY2) printf("YUY2\n"); else
       if(out_fmt==IMGFMT_UYVY) printf("UYVY\n"); else
+      if(out_fmt==IMGFMT_YVYU) printf("YVYU\n"); else
       if(out_fmt==IMGFMT_I420) printf("I420\n"); else
       if(out_fmt==IMGFMT_IYUV) printf("IYUV\n"); else
***************
*** 1249,1253 ****
                        sh_video->disp_w,sh_video->disp_h,
                        screen_size_x,screen_size_y,
!                       fullscreen|(vidmode<<1)|(softzoom<<2),
                        title,out_fmt);
  
--- 1252,1256 ----
                        sh_video->disp_w,sh_video->disp_h,
                        screen_size_x,screen_size_y,
!                       fullscreen|(vidmode<<1)|(softzoom<<2)|(flip<<3),
                        title,out_fmt);
  
***************
*** 1265,1269 ****
     if(video_out->init(sh_video->disp_w,sh_video->disp_h,
                        screen_size_x,screen_size_y,
!                       fullscreen|(vidmode<<1)|(softzoom<<2),
                        title,out_fmt)){
       printf("FATAL: Cannot initialize video driver!\n");
--- 1268,1272 ----
     if(video_out->init(sh_video->disp_w,sh_video->disp_h,
                        screen_size_x,screen_size_y,
!                       fullscreen|(vidmode<<1)|(softzoom<<2)|(flip<<3),
                        title,out_fmt)){
       printf("FATAL: Cannot initialize video driver!\n");


_______________________________________________
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