[MOVED FROM BAD 132/134] vp8: Require latest libvpx release (1.1.0 from May 2012)

Fixes bug  and simplifies configure checks.
This commit is contained in:
Sebastian Dröge 2012-09-16 10:56:07 +02:00
parent 711ae3c94b
commit b9ba9a28da

View file

@ -54,10 +54,6 @@
GST_DEBUG_CATEGORY_STATIC (gst_vp8dec_debug); GST_DEBUG_CATEGORY_STATIC (gst_vp8dec_debug);
#define GST_CAT_DEFAULT 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 FALSE
#define DEFAULT_POST_PROCESSING_FLAGS (VP8_DEBLOCK | VP8_DEMACROBLOCK | VP8_MFQE) #define DEFAULT_POST_PROCESSING_FLAGS (VP8_DEBLOCK | VP8_DEMACROBLOCK | VP8_MFQE)
#define DEFAULT_DEBLOCKING_LEVEL 4 #define DEFAULT_DEBLOCKING_LEVEL 4
@ -456,11 +452,7 @@ open_codec (GstVP8Dec * dec, GstVideoCodecFrame * frame)
if ((caps & VPX_CODEC_CAP_POSTPROC) && dec->post_processing) { if ((caps & VPX_CODEC_CAP_POSTPROC) && dec->post_processing) {
vp8_postproc_cfg_t pp_cfg = { 0, }; 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; pp_cfg.post_proc_flag = dec->post_processing_flags;
#endif
pp_cfg.deblocking_level = dec->deblocking_level; pp_cfg.deblocking_level = dec->deblocking_level;
pp_cfg.noise_level = dec->noise_level; pp_cfg.noise_level = dec->noise_level;