Index: media/gpu/vaapi_video_decode_accelerator.cc |
diff --git a/media/gpu/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi_video_decode_accelerator.cc |
index 755e9abfcab00d248739aafd3749d79dc50eac82..a119f0fd16b039ddefc831c5be2fef71e14837de 100644 |
--- a/media/gpu/vaapi_video_decode_accelerator.cc |
+++ b/media/gpu/vaapi_video_decode_accelerator.cc |
@@ -1734,11 +1734,8 @@ bool VaapiVideoDecodeAccelerator::VaapiVP9Accelerator::SubmitDecode( |
const Vp9LoopFilterParams& lf, |
const std::vector<scoped_refptr<VP9Picture>>& ref_pictures, |
const base::Closure& done_cb) { |
- // TODO(posciak): We don't currently have the ability to know when the surface |
- // is decoded, as we submit both the decode job and output independently and |
- // don't wait for just the decode to be finished, instead relying on the |
- // driver to execute them in correct order. |
- DCHECK(!done_cb.is_null()); |
+ // |done_cb| should be null as we return false from IsFrameContextRequired(). |
+ DCHECK(done_cb.is_null()); |
VADecPictureParameterBufferVP9 pic_param; |
memset(&pic_param, 0, sizeof(pic_param)); |