Fix d3d11 vp9 accelerator for profile 2

Change-Id: I6a15ad00706fe31ffb8484ff5a65607b7e4d55ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874723
Reviewed-by: Ted Meyer <tmathmeyer@chromium.org>
Commit-Queue: Frank Liberato <liberato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708730}
diff --git a/media/gpu/windows/d3d11_vp9_accelerator.cc b/media/gpu/windows/d3d11_vp9_accelerator.cc
index f185a93..a8ef7df 100644
--- a/media/gpu/windows/d3d11_vp9_accelerator.cc
+++ b/media/gpu/windows/d3d11_vp9_accelerator.cc
@@ -128,8 +128,10 @@
   COPY_PARAM(frame_context_idx);
   COPY_PARAM(allow_high_precision_mv);
 
-  // extra_plane, BitDepthMinus8Luma, and BitDepthMinus8Chroma are initialized
-  // at 0 already.
+  // extra_plane is initialized to zero.
+
+  pic_params->BitDepthMinus8Luma = pic_params->BitDepthMinus8Chroma =
+      pic.frame_hdr->bit_depth - 8;
 
   pic_params->CurrPic.Index7Bits = pic.level();
   pic_params->frame_type = !pic.frame_hdr->IsKeyframe();