summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-18 15:52:38 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-18 15:52:38 +0000
commitdbb001bae23b18295014c9fc925538902f956c35 (patch)
treea7198cff9124bed9cbf3665c6f325c641330e092 /libvo/vo_dga.c
parentda39de73a8f773d2516eadd20ea2172efc3df2a3 (diff)
downloadmpv-dbb001bae23b18295014c9fc925538902f956c35.tar.bz2
mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.xz
replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dga.c')
-rw-r--r--libvo/vo_dga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index feabdc3aa8..5632e7f142 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -627,7 +627,7 @@ static uint32_t config(uint32_t width, uint32_t height,
vo_dga_vp_width = mX;
vo_dga_vp_height = mY;
- if ((flags & 0x04) || (flags & 0x01))
+ if ((flags & VOFLAG_SWSCALE) || (flags & VOFLAG_FULLSCREEN))
{ /* -zoom or -fs */
scale_dstW = (d_width + 7) & ~7;
scale_dstH = d_height;
@@ -636,9 +636,9 @@ static uint32_t config(uint32_t width, uint32_t height,
aspect_save_screenres(mX, mY);
aspect_save_orig(scale_srcW, scale_srcH);
aspect_save_prescale(scale_dstW, scale_dstH);
- if (flags & 0x01) /* -fs */
+ if (flags & VOFLAG_FULLSCREEN) /* -fs */
aspect(&scale_dstW, &scale_dstH, A_ZOOM);
- else if (flags & 0x04) /* -fs */
+ else if (flags & VOFLAG_SWSCALE) /* -fs */
aspect(&scale_dstW, &scale_dstH, A_NOZOOM);
mp_msg(MSGT_VO, MSGL_INFO,
"vo_dga: Aspect corrected size for SwScaler: %4d x %4d.\n",