[MPlayer-cvslog] r29569 - trunk/libvo/video_out.c

reimar subversion at mplayerhq.hu
Thu Aug 27 21:13:19 CEST 2009


Author: reimar
Date: Thu Aug 27 21:13:19 2009
New Revision: 29569

Log:
Enable calc_src_dst_rects for windowed aspect and panscan.

Modified:
   trunk/libvo/video_out.c

Modified: trunk/libvo/video_out.c
==============================================================================
--- trunk/libvo/video_out.c	Thu Aug 27 20:51:02 2009	(r29568)
+++ trunk/libvo/video_out.c	Thu Aug 27 21:13:19 2009	(r29569)
@@ -411,9 +411,9 @@ void calc_src_dst_rects(int src_width, i
   if (borders) {
     borders->left = 0; borders->top = 0;
   }
-  if (vo_fs) {
-    aspect(&scaled_width, &scaled_height, A_ZOOM);
-    panscan_calc();
+  if (aspect_scaling()) {
+    aspect(&scaled_width, &scaled_height, A_WINZOOM);
+    panscan_calc_windowed();
     scaled_width  += vo_panscan_x;
     scaled_height += vo_panscan_y;
     if (borders) {


More information about the MPlayer-cvslog mailing list