From: Marco Date: Mon, 30 Mar 2015 23:13:38 +0000 (-0700) Subject: Set postproc flags in decoder_get_frame. X-Git-Tag: v1.5.0~811^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=385ca8f74118cc793a78cdcf1d313b88e30ad944;p=libvpx Set postproc flags in decoder_get_frame. The postproc settings were not set in decoder_get_frame(). Change-Id: I20d23de3ea18f6df061a53d691d4095d5c62532a --- diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index 7350cb392..c2f782bab 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -755,6 +755,8 @@ static vpx_image_t *decoder_get_frame(vpx_codec_alg_priv_t *ctx, (FrameWorkerData *)worker->data1; ctx->next_output_worker_id = (ctx->next_output_worker_id + 1) % ctx->num_frame_workers; + if (ctx->base.init_flags & VPX_CODEC_USE_POSTPROC) + set_ppflags(ctx, &flags); // Wait for the frame from worker thread. if (winterface->sync(worker)) { // Check if worker has received any frames.