mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +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:
parent
7b7c8c7125
commit
ee5ce266e5
@ -162,7 +162,6 @@ LIBVO_EXTERN (dxr3)
|
|||||||
static int v_width, v_height;
|
static int v_width, v_height;
|
||||||
static int s_width, s_height;
|
static int s_width, s_height;
|
||||||
static int osd_w, osd_h;
|
static int osd_w, osd_h;
|
||||||
static int fullscreen;
|
|
||||||
static int img_format;
|
static int img_format;
|
||||||
|
|
||||||
/* Configuration values
|
/* Configuration values
|
||||||
@ -293,13 +292,9 @@ static int control(uint32_t request, void *data, ...)
|
|||||||
case VOCTRL_FULLSCREEN:
|
case VOCTRL_FULLSCREEN:
|
||||||
if (dxr3_overlay) {
|
if (dxr3_overlay) {
|
||||||
vo_x11_fullscreen();
|
vo_x11_fullscreen();
|
||||||
if (fullscreen) {
|
overlay_signalmode(overlay_data,
|
||||||
overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_WITH_VGA);
|
vo_fs ? EM8300_OVERLAY_SIGNAL_ONLY :
|
||||||
fullscreen = 0;
|
EM8300_OVERLAY_SIGNAL_WITH_VGA);
|
||||||
} else {
|
|
||||||
overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_ONLY);
|
|
||||||
fullscreen = 1;
|
|
||||||
}
|
|
||||||
return VO_TRUE;
|
return VO_TRUE;
|
||||||
}
|
}
|
||||||
return VO_FALSE;
|
return VO_FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user