Commit 48e8640c authored by Miguel Casas's avatar Miguel Casas Committed by Commit Bot

V4L2 decoder: don't enumerate VP9 Profiles 1, 2 nor 3

ToT V4L2 decoder enumerates all VP9 Profiles as supported but looking at
the manuals and the code this is not true (see bug). This CL restricts
the enumeration to VP9 Profile 0.

Bug: 796297
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I4e604830790efe3b703af501f7f401bd96375f41
Reviewed-on: https://chromium-review.googlesource.com/953682Reviewed-by: default avatarPawel Osciak <posciak@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541965}
parent 733f2360
......@@ -145,8 +145,10 @@ std::vector<VideoCodecProfile> V4L2Device::V4L2PixFmtToVideoCodecProfiles(
case V4L2_PIX_FMT_VP9:
case V4L2_PIX_FMT_VP9_FRAME:
min_profile = VP9PROFILE_MIN;
max_profile = VP9PROFILE_MAX;
// TODO(posciak): https://crbug.com/819930 Query supported profiles.
// Currently no devices support Profiles > 0 https://crbug.com/796297.
min_profile = VP9PROFILE_PROFILE0;
max_profile = VP9PROFILE_PROFILE0;
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment