• Chih-Yu Huang's avatar
    vea_unittest: Set longer flush timeout. · e6c75d9f
    Chih-Yu Huang authored
    Originally we assume the FPS of all encoders should be larger than the
    minimum FPS 30. But the FPS for multiple encoder test case should be
    divided by the number of the encoders. This CL changes the timeout to
    2 seconds assuming the FPS should be at least larger than 5.
    
    Bug: chromium:820313
    Test: Pass video_encode_accelerator_unittest with 1920x1080 video at
          scarlet device
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Ic91a6aa8b00ee0bdb73da407e4c435ea2979a2c4
    Reviewed-on: https://chromium-review.googlesource.com/997253Reviewed-by: default avatarRicky Liang <jcliang@chromium.org>
    Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#549404}
    e6c75d9f
video_encode_accelerator_unittest.cc 94.1 KB