diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 10:10:15 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 10:10:15 +0000 |
commit | 696272825f842dbc8e89b62d3fdeae9dbdc391cc (patch) | |
tree | 2903bc8fc86eaeeebcd7d8e4b576005a1221908d | |
parent | 3054bc2b98ddc6ac6dd97b02c446c7045994f37e (diff) | |
download | mpv-696272825f842dbc8e89b62d3fdeae9dbdc391cc.tar.bz2 mpv-696272825f842dbc8e89b62d3fdeae9dbdc391cc.tar.xz |
Minor changes: -fs key and vidix params
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4132 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_xvidix.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index 38067c3d58..7829259ea5 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -163,7 +163,12 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, aspect(&d_width, &d_height, A_NOZOOM); #ifdef X11_FULLSCREEN if (flags & 0x01) /* fullscreen */ - aspect(&d_width, &d_height, A_ZOOM); + if(flags & 0x04) aspect(&d_width, &d_height, A_ZOOM); + else + { + d_width = vo_screenwidth; + d_height = vo_screenheight; + } #endif hint.x = 0; @@ -248,7 +253,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width, window_x, window_y, window_width, window_height); if (vidix_init(image_width, image_height, window_x, window_y, window_width, - window_height, format, image_depth, image_width, image_height) != 0) + window_height, format, image_depth, vo_screenwidth, vo_screenheight) != 0) { mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n", vidix_name, strerror(errno)); |