Don't use task queue for video decoding by default.

There are unexpected changed reported from the perf bots,
disabling task queue mode while investigating.

Bug: webrtc:950335
Change-Id: I280605a8fc8a0f97f7a4b90f53a08e087b61cdfe
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132710
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27595}
This commit is contained in:
Sebastian Jansson 2019-04-12 14:21:53 +02:00 committed by Commit Bot
parent 1fa06041bc
commit 6adbb49642

View File

@ -185,8 +185,7 @@ VideoReceiveStream::VideoReceiveStream(
num_cpu_cores_(num_cpu_cores),
process_thread_(process_thread),
clock_(clock),
use_task_queue_(
!field_trial::IsDisabled("WebRTC-Video-DecodeOnTaskQueue")),
use_task_queue_(field_trial::IsEnabled("WebRTC-Video-DecodeOnTaskQueue")),
decode_thread_(&DecodeThreadFunction,
this,
"DecodingThread",