diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-23 15:43:17 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-23 15:43:17 +0000 |
commit | a254cc288e8828f114ae3399911b8fd403cff4c7 (patch) | |
tree | 20721db66fa12225d666451ce521fe4d90e017e2 /libvo/vo_dxr3.c | |
parent | 11458e387f03a4d430515537176f588c9e0ac9c8 (diff) | |
download | mpv-a254cc288e8828f114ae3399911b8fd403cff4c7.tar.bz2 mpv-a254cc288e8828f114ae3399911b8fd403cff4c7.tar.xz |
As jittering is corrected we might as well play the movie in full res
(lot nicer output ;).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5275 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 91d92d78b2..29cd591bad 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -244,7 +244,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 monitor_aspect = (float) width / (float) height; /* libavcodec requires a width and height that is x|16 */ - aspect_save_orig(width, height); + /*aspect_save_orig(width, height); aspect_save_prescale(d_width, d_height); ioctl(fd_control, EM8300_IOCTL_GET_VIDEOMODE, &ioval); if (ioval == EM8300_VIDEOMODE_NTSC) { @@ -256,7 +256,9 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 } aspect(&s_width, &s_height, A_ZOOM); s_width -= s_width % 16; - s_height -= s_height % 16; + s_height -= s_height % 16;*/ + s_width = ((v_width + 15) / 16) * 16; + s_height = ((height + 15) / 16) * 16; /* Try to figure out whether to use widescreen output or not */ /* Anamorphic widescreen modes makes this a pain in the ass */ |