summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-04 22:53:50 +0200
committerwm4 <wm4@nowhere>2014-09-05 01:52:16 +0200
commite267ff93f32783e324c93395ab135e5b26f0efe1 (patch)
tree8a73106d88850bb466f85f9cc36ba5f158c4111f /video/out/vo.h
parentc15957b43a715563d405f42ec38c6c0ed1d477f9 (diff)
downloadmpv-e267ff93f32783e324c93395ab135e5b26f0efe1.tar.bz2
mpv-e267ff93f32783e324c93395ab135e5b26f0efe1.tar.xz
video: rename VOCTRL_GET_WINDOW_SIZE
Make it clear that this accesses the un-fullscreened window size.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 9e70bde310..602a4cc8c4 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -72,8 +72,10 @@ enum mp_voctrl {
VOCTRL_SET_DEINTERLACE,
VOCTRL_GET_DEINTERLACE,
- VOCTRL_GET_WINDOW_SIZE, // int[2] (w/h)
- VOCTRL_SET_WINDOW_SIZE, // int[2] (w/h)
+ // Return or set window size (not-fullscreen mode only - if fullscreened,
+ // these must access the not-fullscreened window size only).
+ VOCTRL_GET_UNFS_WINDOW_SIZE, // int[2] (w/h)
+ VOCTRL_SET_UNFS_WINDOW_SIZE, // int[2] (w/h)
// The VO is supposed to set "known" fields, and leave the others
// untouched or set to 0.