Index: content/common/gpu/media/exynos_video_encode_accelerator.cc |
diff --git a/content/common/gpu/media/exynos_video_encode_accelerator.cc b/content/common/gpu/media/exynos_video_encode_accelerator.cc |
index e8a2196edc6bfdcd60cb1cfaf14dba3c9b4866c2..e5c3a738819785729df15d5b995cf3911215bb79 100644 |
--- a/content/common/gpu/media/exynos_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/exynos_video_encode_accelerator.cc |
@@ -1188,14 +1188,7 @@ bool ExynosVideoEncodeAccelerator::CreateGscInputBuffers() { |
memset(&control, 0, sizeof(control)); |
control.id = V4L2_CID_ALPHA_COMPONENT; |
control.value = 255; |
- if (HANDLE_EINTR(ioctl(gsc_fd_, VIDIOC_S_CTRL, &control)) != 0) { |
- // TODO(posciak): This is a temporary hack and should be removed when |
- // all platforms migrate to kernel >=3.8. |
- memset(&control, 0, sizeof(control)); |
- control.id = V4L2_CID_GLOBAL_ALPHA; |
- control.value = 255; |
- IOCTL_OR_ERROR_RETURN_FALSE(gsc_fd_, VIDIOC_S_CTRL, &control); |
- } |
+ IOCTL_OR_ERROR_RETURN_FALSE(gsc_fd_, VIDIOC_S_CTRL, &control); |
struct v4l2_format format; |
memset(&format, 0, sizeof(format)); |