Mercurial > mplayer.hg
annotate libmpcodecs/vfcap.h @ 7542:190d14d9130e
fullscreen fixes, based on mail by Havoc Pennington <hp@redhat.com>
- it should not set _NET_WM_STATE_STAYS_ON_TOP, this hint does
not exist in the spec
(http://www.freedesktop.org/standards/wm-spec/1.2/html/x224.html)
and _NET_WM_STATE_FULLSCREEN already implies "on top" so there's no
need to set this.
it should set _NET_WM_STATE_FULLSCREEN instead, I don't
currently see code to set _NET_WM_STATE_FULLSCREEN
- the XUnmapWindow() after sending the client message
is officially speaking breaking the spec, should be
XWithdrawWindow().
author | arpi |
---|---|
date | Sat, 28 Sep 2002 22:37:20 +0000 |
parents | efe856039f8f |
children | 4fa4e58587c2 |
rev | line source |
---|---|
5564
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
1 // VFCAP_* values: they are flags, returned by query_format(): |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
2 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
3 // set, if the given colorspace is supported (with or without conversion) |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
4 #define VFCAP_CSP_SUPPORTED 0x1 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
5 // set, if the given colorspace is supported _without_ conversion |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
6 #define VFCAP_CSP_SUPPORTED_BY_HW 0x2 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
7 // set if the driver/filter can draw OSD |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
8 #define VFCAP_OSD 0x4 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
9 // set if the driver/filter can handle compressed SPU stream |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
10 #define VFCAP_SPU 0x8 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
11 // scaling up/down by hardware, or software: |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
12 #define VFCAP_HWSCALE_UP 0x10 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
13 #define VFCAP_HWSCALE_DOWN 0x20 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
14 #define VFCAP_SWSCALE 0x40 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
15 // driver/filter can do vertical flip (upside-down) |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
16 #define VFCAP_FLIP 0x80 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
17 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
18 // driver/hardware handles timing (blocking) |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
19 #define VFCAP_TIMER 0x100 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
20 // driver _always_ flip image upside-down (for ve_vfw) |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
21 #define VFCAP_FLIPPED 0x200 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
22 // driver accept stride: (put_image/draw_frame) |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
23 #define VFCAP_ACCEPT_STRIDE 0x400 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
24 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
25 #define VFCAP_POSTPROC 0x800 |
efe856039f8f
VFCAP defines moved out from vf.h, to be easier to include in libvo
arpi
parents:
diff
changeset
|
26 |