shithub: libvpx

Download patch

ref: 86d51dfbf5eb3904c92098edb06fb68f672ee9f7
parent: 469986f96399cbd2cf929e7e6c418196184e7ffa
author: James Zern <jzern@google.com>
date: Mon Jun 26 18:21:32 EDT 2017

vp9_dx: rm worker thread creation

creating a thread associated with the sole worker isn't necessary when
only execute() is being used after the removal of frame_parallel_decode.

BUG=webm:1395

Change-Id: I2255ce72607321e5708bc82a632dc6825d4eff5c

--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -350,10 +350,6 @@
     frame_worker_data->pbi->frame_parallel_decode = 0;
     frame_worker_data->pbi->common.frame_parallel_decode = 0;
     worker->hook = (VPxWorkerHook)frame_worker_hook;
-    if (!winterface->reset(worker)) {
-      set_error_detail(ctx, "Frame Worker thread creation failed");
-      return VPX_CODEC_MEM_ERROR;
-    }
   }
 
   // If postprocessing was enabled by the application and a