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( |