[MOVED FROM BAD 132/134] vp8: Require latest libvpx release (1.1.0 from May 2012)
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 08:56:07 +0000 (10:56 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:32:04 +0000 (15:32 +0200)
Fixes bug #684116 and simplifies configure checks.

ext/vp8/gstvp8dec.c

index 4cfe7c9..ff22105 100644 (file)
 GST_DEBUG_CATEGORY_STATIC (gst_vp8dec_debug);
 #define GST_CAT_DEFAULT gst_vp8dec_debug
 
-#ifndef HAVE_VP8_MFQE
-#define VP8_MFQE (1<<10)
-#endif
-
 #define DEFAULT_POST_PROCESSING FALSE
 #define DEFAULT_POST_PROCESSING_FLAGS (VP8_DEBLOCK | VP8_DEMACROBLOCK | VP8_MFQE)
 #define DEFAULT_DEBLOCKING_LEVEL 4
@@ -456,11 +452,7 @@ open_codec (GstVP8Dec * dec, GstVideoCodecFrame * frame)
   if ((caps & VPX_CODEC_CAP_POSTPROC) && dec->post_processing) {
     vp8_postproc_cfg_t pp_cfg = { 0, };
 
-#ifndef HAVE_VP8_MFQE
-    pp_cfg.post_proc_flag = (dec->post_processing_flags & (~VP8_MFQE));
-#else
     pp_cfg.post_proc_flag = dec->post_processing_flags;
-#endif
     pp_cfg.deblocking_level = dec->deblocking_level;
     pp_cfg.noise_level = dec->noise_level;