Ticket #35: vesa.aspect.patch

File vesa.aspect.patch, 633 bytes (added by Alexander_Buloichik@…, 22 years ago)

patch for set right aspect ratio on playing with "-fs -vo vesa"

  • vo_vesa.c

    RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
    retrieving revision 1.100
    diff -u -r1.100 vo_vesa.c
     
    803803                      {
    804804                        dstW = video_mode_info.XResolution;
    805805                        dstH = video_mode_info.YResolution;
     806
     807                        aspect_save_orig(width,height);
     808                        aspect_save_prescale(d_width,d_height);
     809                        aspect_save_screenres(video_mode_info.XResolution,video_mode_info.YResolution);
     810                        aspect(&dstW,&dstH,A_ZOOM);
    806811                      }
    807812                      use_scaler = 1;
    808813                }