Index: content/common/gpu/media/gpu_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
index 755563e5727a90899cf946d2b88c8d10cf8b50ae..defc5826498e20386efa981da69614fb1e9b9981 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -261,7 +261,8 @@ void GpuVideoDecodeAccelerator::Initialize( |
video_decode_accelerator_.reset( |
new DXVAVideoDecodeAccelerator(make_context_current_)); |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) |
- scoped_ptr<V4L2Device> device = V4L2Device::Create(); |
+ scoped_ptr<V4L2Device> device = |
+ V4L2Device::Create(stub_->decoder()->GetGLContext()->GetHandle()); |
if (!device.get()) { |
NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE); |
return; |