diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-09-03 10:16:30 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-09-03 10:16:30 +0300 |
commit | b56858342fdbe48489618107df75e5bd0451eb0b (patch) | |
tree | 5d41ef858502bae99dcbebdd728d42a6040adb03 /libvo/vo_fbdev.c | |
parent | 8ea7eb77fc7ba8bd0b596ea32ee60909a012828f (diff) | |
parent | bae94777d7ddaa2d4763507fdb93b9520327c9d1 (diff) | |
download | mpv-b56858342fdbe48489618107df75e5bd0451eb0b.tar.bz2 mpv-b56858342fdbe48489618107df75e5bd0451eb0b.tar.xz |
Merge svn changes up to r27514
Diffstat (limited to 'libvo/vo_fbdev.c')
-rw-r--r-- | libvo/vo_fbdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index abe5d9aeeb..e8f5e86ba7 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -25,6 +25,7 @@ #include "video_out_internal.h" #include "fastmemcpy.h" #include "sub.h" +#include "geometry.h" #ifdef CONFIG_VIDIX #include "vosub_vidix.h" #endif @@ -999,6 +1000,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, #endif { int x_offset=0,y_offset=0; + geometry(&x_offset, &y_offset, &out_width, &out_height, fb_xres, fb_yres); if ((frame_buffer = (uint8_t *) mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_SHARED, fb_dev_fd, 0)) == (uint8_t *) -1) { mp_msg(MSGT_VO, MSGL_ERR, "Can't mmap %s: %s\n", fb_dev_name, strerror(errno)); |