1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00

Fix compilation, use vo_fs instead of fullscreen variable. Not tested.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16942 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-11-06 21:15:53 +00:00
parent 7b7c8c7125
commit ee5ce266e5

View File

@ -162,7 +162,6 @@ LIBVO_EXTERN (dxr3)
static int v_width, v_height;
static int s_width, s_height;
static int osd_w, osd_h;
static int fullscreen;
static int img_format;
/* Configuration values
@ -293,13 +292,9 @@ static int control(uint32_t request, void *data, ...)
case VOCTRL_FULLSCREEN:
if (dxr3_overlay) {
vo_x11_fullscreen();
if (fullscreen) {
overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_WITH_VGA);
fullscreen = 0;
} else {
overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_ONLY);
fullscreen = 1;
}
overlay_signalmode(overlay_data,
vo_fs ? EM8300_OVERLAY_SIGNAL_ONLY :
EM8300_OVERLAY_SIGNAL_WITH_VGA);
return VO_TRUE;
}
return VO_FALSE;