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
This commit is contained in:
parent
469986f963
commit
86d51dfbf5
@ -350,10 +350,6 @@ static vpx_codec_err_t init_decoder(vpx_codec_alg_priv_t *ctx) {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user