Index: content/common/gpu/media/android_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc |
index 4d65c61131fac0145e4fdbba3dc9a2d8e120d3b9..3391e54a6810542e2e4175d359680a9f41c92fb2 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -379,7 +379,7 @@ void AndroidVideoDecodeAccelerator::Flush() { |
void AndroidVideoDecodeAccelerator::ConfigureMediaCodec() { |
dwkang1
2013/05/16 01:53:54
Could you make this return bool and make Initializ
qinmin
2013/05/16 04:07:43
Done.
|
DCHECK(surface_texture_.get()); |
- media_codec_.reset(new media::VideoCodecBridge(codec_)); |
+ media_codec_.reset(media::VideoCodecBridge::Create(codec_)); |
gfx::ScopedJavaSurface surface(surface_texture_.get()); |
// VDA does not pass the container indicated resolution in the initialization |