summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vfcap.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-18 12:30:15 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-18 12:30:15 +0000
commit60fa5a134d34c694158c94513dce85f855984b0e (patch)
tree34372844fb2e8547e26345cc02e15cbe9d6ac4a3 /libmpcodecs/vfcap.h
parent4ceed591c8968e55de23b1b7f7a13292bfa3e70d (diff)
downloadmpv-60fa5a134d34c694158c94513dce85f855984b0e.tar.bz2
mpv-60fa5a134d34c694158c94513dce85f855984b0e.tar.xz
Add VOCAP_NOSLICES and use it to allow vo_vdpau to not support slices for
YV12 - since VDPAU only has functions to upload the full frame at once there is no sense in supporting draw_slice for that. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28646 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vfcap.h')
-rw-r--r--libmpcodecs/vfcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vfcap.h b/libmpcodecs/vfcap.h
index 9745a5c9bd..158928d924 100644
--- a/libmpcodecs/vfcap.h
+++ b/libmpcodecs/vfcap.h
@@ -33,5 +33,7 @@
#define VFCAP_EOSD 0x2000
// filter will draw EOSD at screen resolution (without scaling)
#define VFCAP_EOSD_UNSCALED 0x4000
+// used by libvo and vf_vo, indicates the VO does not support draw_slice for this format
+#define VOCAP_NOSLICES 0x8000
#endif /* MPLAYER_VFCAP_H */