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 9ec813983645bef94c86d0470861d9c00ce2ecae..9c0764f4205f510a069bfe03bfd2a0643a1b1a3d 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -273,7 +273,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; |