1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-11 17:37:01 +00:00

Minor changes: -fs key and vidix params

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4132 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-01-13 10:10:15 +00:00
parent 3054bc2b98
commit 696272825f

View File

@ -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));