]> granicus.if.org Git - libvpx/commitdiff
Set postproc flags in decoder_get_frame.
authorMarco <marpan@google.com>
Mon, 30 Mar 2015 23:13:38 +0000 (16:13 -0700)
committerMarco <marpan@google.com>
Mon, 30 Mar 2015 23:15:57 +0000 (16:15 -0700)
The postproc settings were not set in decoder_get_frame().

Change-Id: I20d23de3ea18f6df061a53d691d4095d5c62532a

vp9/vp9_dx_iface.c

index 7350cb3928fa229557305f665d19e0b96a267c72..c2f782babead32bb6d3c2302c049f5ed988bede2 100644 (file)
@@ -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.