Index: media/filters/gpu_video_decoder.cc |
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc |
index 16a33eae54c6fc3cdff4f65b09e773af14392a01..d6d04828d4e961ad9b85a358b8dd3f0ba7c1dd5c 100644 |
--- a/media/filters/gpu_video_decoder.cc |
+++ b/media/filters/gpu_video_decoder.cc |
@@ -424,6 +424,9 @@ void GpuVideoDecoder::PictureReady(const media::Picture& picture) { |
// Update frame's timestamp. |
base::TimeDelta timestamp; |
+ // Some of the VDAs don't support and thus don't provide us with visible |
+ // size, passing coded size instead, so drop picture.size() and use config |
Pawel Osciak
2014/08/12 08:50:41
s/provide us with visible size/provide us with vis
kcwu
2014/08/13 14:27:20
Done.
|
+ // information instead. |
gfx::Rect visible_rect; |
gfx::Size natural_size; |
GetBufferData(picture.bitstream_buffer_id(), ×tamp, &visible_rect, |