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

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

Issue 826663002: Support multiple video decoders and encoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 6 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/v4l2_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/v4l2_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_video_decode_accelerator.cc
index 243fee58d2e4fcfccdb336c68fbc8ae54a066352..d17c1ded178628dcbbb2b0d46ead332524c4b078 100644
--- a/content/common/gpu/media/v4l2_video_decode_accelerator.cc
+++ b/content/common/gpu/media/v4l2_video_decode_accelerator.cc
@@ -598,7 +598,7 @@ void V4L2VideoDecodeAccelerator::DecodeBufferTask() {
if (schedule_task) {
decoder_current_bitstream_buffer_->bytes_used += decoded_size;
- if (decoder_current_bitstream_buffer_->bytes_used ==
+ if ((size_t)decoder_current_bitstream_buffer_->bytes_used ==
Pawel Osciak 2014/12/26 01:11:36 Please not c-style casts. Instead, please change b
henryhsu 2014/12/26 08:40:41 Done.
decoder_current_bitstream_buffer_->size) {
// Our current bitstream buffer is done; return it.
int32 input_id = decoder_current_bitstream_buffer_->input_id;

Powered by Google App Engine
This is Rietveld 408576698