Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.cc

Issue 2504473002: Initialize DXVA decoder thread with MTA COM apartment model (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/dxva_video_decode_accelerator_win.cc
diff --git a/media/gpu/dxva_video_decode_accelerator_win.cc b/media/gpu/dxva_video_decode_accelerator_win.cc
index e368dd35728060fa7d46dd57dc67eb3a6809b59f..ac9f67d6ea71a1e7a91ca481afe398254d062279 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.cc
+++ b/media/gpu/dxva_video_decode_accelerator_win.cc
@@ -2226,7 +2226,7 @@ void DXVAVideoDecodeAccelerator::SetState(State new_state) {
}
void DXVAVideoDecodeAccelerator::StartDecoderThread() {
- decoder_thread_.init_com_with_mta(false);
+ decoder_thread_.init_com_with_mta(true);
decoder_thread_.Start();
decoder_thread_task_runner_ = decoder_thread_.task_runner();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698