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

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 2636433003: [NotForReview] Enable YUV video overlay on Skylake ChromeOS.
Patch Set: Created 3 years, 11 months 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 | « media/base/video_frame.cc ('k') | media/gpu/vaapi_drm_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index 723c6da03b6bb0becb79a26ce75f7d64c9be2aae..1fe823a5ca059680bf67c9d1d4b150b6aff4c8cd 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -548,6 +548,8 @@ void GpuVideoDecoder::ProvidePictureBuffers(uint32_t count,
// TODO(jbauman): Move decoder_texture_target_ and pixel_format_ to the
// picture buffer. http://crbug.com/614789
+ PLOG(ERROR) << " pixel format " << pixel_format_ << " wanted format "
+ << format;
if ((pixel_format_ != PIXEL_FORMAT_UNKNOWN) && (pixel_format_ != format)) {
NotifyError(VideoDecodeAccelerator::PLATFORM_FAILURE);
return;
@@ -587,6 +589,8 @@ void GpuVideoDecoder::ProvidePictureBuffers(uint32_t count,
available_pictures_ += count;
+ PLOG(ERROR) << " picture buffer allocated! ";
+
vda_->AssignPictureBuffers(picture_buffers);
}
@@ -666,6 +670,7 @@ void GpuVideoDecoder::PictureReady(const media::Picture& picture) {
decoder_texture_target_);
}
+ PLOG(ERROR) << "video frame format " << pixel_format_;
scoped_refptr<VideoFrame> frame(VideoFrame::WrapNativeTextures(
pixel_format_, mailbox_holders,
base::Bind(
« no previous file with comments | « media/base/video_frame.cc ('k') | media/gpu/vaapi_drm_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698