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

Unified Diff: content/common/gpu/media/vaapi_h264_decoder.cc

Issue 27498002: Add vaapi_h264_decoder_test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split into GetVaImage/ReturnVaImage Created 7 years 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
Index: content/common/gpu/media/vaapi_h264_decoder.cc
diff --git a/content/common/gpu/media/vaapi_h264_decoder.cc b/content/common/gpu/media/vaapi_h264_decoder.cc
index 402369bb2b3e1fc01235318e868e0f925c939cb7..f97f68b007607d971b7370801b075917f7383c89 100644
--- a/content/common/gpu/media/vaapi_h264_decoder.cc
+++ b/content/common/gpu/media/vaapi_h264_decoder.cc
@@ -1518,7 +1518,9 @@ bool VaapiH264Decoder::ProcessSlice(H264SliceHeader* slice_hdr) {
return VaapiH264Decoder::kDecodeError; \
} while (0)
-void VaapiH264Decoder::SetStream(uint8* ptr, size_t size, int32 input_id) {
+void VaapiH264Decoder::SetStream(const uint8* ptr,
+ size_t size,
+ int32 input_id) {
DCHECK(ptr);
DCHECK(size);

Powered by Google App Engine
This is Rietveld 408576698