Index: media/gpu/gpu_video_decode_accelerator_factory.cc |
diff --git a/media/gpu/gpu_video_decode_accelerator_factory.cc b/media/gpu/gpu_video_decode_accelerator_factory.cc |
index 6b809fd81c84303788208960365b50111cedba0b..e926ad640fc547597f8ac42f69ea8efb4a1fe64e 100644 |
--- a/media/gpu/gpu_video_decode_accelerator_factory.cc |
+++ b/media/gpu/gpu_video_decode_accelerator_factory.cc |
@@ -182,12 +182,10 @@ GpuVideoDecodeAcceleratorFactory::CreateDXVAVDA( |
const gpu::GpuDriverBugWorkarounds& workarounds, |
const gpu::GpuPreferences& gpu_preferences) const { |
std::unique_ptr<VideoDecodeAccelerator> decoder; |
- if (base::win::GetVersion() >= base::win::VERSION_WIN7) { |
- DVLOG(0) << "Initializing DXVA HW decoder for windows."; |
- decoder.reset(new DXVAVideoDecodeAccelerator( |
- get_gl_context_cb_, make_context_current_cb_, bind_image_cb_, |
- workarounds, gpu_preferences)); |
- } |
+ DVLOG(0) << "Initializing DXVA HW decoder for windows."; |
+ decoder.reset(new DXVAVideoDecodeAccelerator( |
+ get_gl_context_cb_, make_context_current_cb_, bind_image_cb_, |
+ workarounds, gpu_preferences)); |
return decoder; |
} |
#endif |