diff libmpcodecs/vf.c @ 34671:77e737045fbf

build: Separate libpostproc check from FFmpeg check. Unless GPL has been enabled, libpostproc may not be available or it may not be available at all.
author diego
date Wed, 22 Feb 2012 14:19:45 +0000
parents ca53dc5326fa
children bbbe5519f1e7
line wrap: on
line diff
--- a/libmpcodecs/vf.c	Wed Feb 22 14:17:00 2012 +0000
+++ b/libmpcodecs/vf.c	Wed Feb 22 14:19:45 2012 +0000
@@ -140,7 +140,6 @@
     &vf_info_palette,
     &vf_info_pp7,
 #ifdef CONFIG_FFMPEG
-    &vf_info_pp,
     &vf_info_lavc,
     &vf_info_lavcdeint,
 #ifdef CONFIG_VF_LAVFI
@@ -149,6 +148,9 @@
     &vf_info_screenshot,
     &vf_info_geq,
 #endif
+#ifdef CONFIG_POSTPROC
+    &vf_info_pp,
+#endif
 #ifdef CONFIG_ZR
     &vf_info_zrmjpeg,
 #endif