Index: content/common/gpu/media/video_decode_accelerator_unittest.cc |
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
index 99c5fb90cc76c50cf260e970595db87be2faa1ad..1d458433b0e33c87d89513dd8873de3ae8ad7b7e 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -57,12 +57,10 @@ |
#include "base/win/windows_version.h" |
#include "content/common/gpu/media/dxva_video_decode_accelerator.h" |
#elif defined(OS_CHROMEOS) |
-#if defined(ARCH_CPU_ARMEL) && defined(USE_LIBV4L2) |
-#include "content/common/gpu/media/v4l2_slice_video_decode_accelerator.h" |
-#endif // defined(ARCH_CPU_ARMEL) |
#if defined(ARCH_CPU_ARMEL) || (defined(USE_OZONE) && defined(USE_V4L2_CODEC)) |
#include "content/common/gpu/media/v4l2_video_decode_accelerator.h" |
#include "content/common/gpu/media/v4l2_video_device.h" |
+#include "content/common/gpu/media/v4l2_slice_video_decode_accelerator.h" |
Pawel Osciak
2015/01/22 08:30:02
Order please.
henryhsu
2015/01/22 09:09:09
Done.
|
#endif |
#if defined(ARCH_CPU_X86_FAMILY) |
#include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
@@ -464,7 +462,8 @@ GLRenderingVDAClient::CreateV4L2VDA() { |
scoped_ptr<media::VideoDecodeAccelerator> |
GLRenderingVDAClient::CreateV4L2SliceVDA() { |
scoped_ptr<media::VideoDecodeAccelerator> decoder; |
-#if defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_LIBV4L2) |
+#if defined(OS_CHROMEOS) && (defined(ARCH_CPU_ARMEL) || \ |
+ (defined(USE_OZONE) && defined(USE_V4L2_CODEC))) |
scoped_refptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder); |
if (device.get()) { |
base::WeakPtr<VideoDecodeAccelerator::Client> weak_client = AsWeakPtr(); |