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}
diff --git a/video/video_receive_stream.cc b/video/video_receive_stream.cc
index 29c8820..f23bfdb 100644
--- a/video/video_receive_stream.cc
+++ b/video/video_receive_stream.cc
@@ -185,8 +185,7 @@
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",