summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-22 04:20:11 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-26 06:16:52 +0300
commitcd4e8dc1fa2863dcce62a44dd9ea105f9f9288f4 (patch)
tree0c755ee409c273167966e9e6cf0c733ebb9ba293 /libmpcodecs
parentd6c410b54cbccabda7b36a929bff37e8510a4cc5 (diff)
downloadmpv-cd4e8dc1fa2863dcce62a44dd9ea105f9f9288f4.tar.bz2
mpv-cd4e8dc1fa2863dcce62a44dd9ea105f9f9288f4.tar.xz
Disable functionality requiring libswscale internals
The following are affected: vo_yuv4mpeg, vf_halfpack, vf_palette, vf_rgb2bgr, vf_yuy2, vo_mga, vo_xmga. In vo_yuv4mpeg, only disable RGB support (which is probably little used). Others are disabled completely for now. vo_mga and vo_xmga are disabled by preventing configure from enabling them. The rest is placed under LIBSWSCALE_INTERNALS variable which isn't currently enabled anywhere.
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 878bbb1edd..e00a9afdb0 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -117,12 +117,18 @@ static const vf_info_t* const filter_list[]={
&vf_info_vo,
&vf_info_format,
&vf_info_noformat,
+#ifdef CONFIG_LIBSWSCALE_INTERNALS
&vf_info_yuy2,
+#endif
&vf_info_flip,
+#ifdef CONFIG_LIBSWSCALE_INTERNALS
&vf_info_rgb2bgr,
+#endif
&vf_info_rotate,
&vf_info_mirror,
+#ifdef CONFIG_LIBSWSCALE_INTERNALS
&vf_info_palette,
+#endif
&vf_info_pp7,
#ifdef CONFIG_LIBAVCODEC
&vf_info_lavc,
@@ -140,7 +146,9 @@ static const vf_info_t* const filter_list[]={
&vf_info_eq,
&vf_info_eq2,
&vf_info_gradfun,
+#ifdef CONFIG_LIBSWSCALE_INTERNALS
&vf_info_halfpack,
+#endif
&vf_info_dint,
&vf_info_1bpp,
&vf_info_2xsai,