media/gpu/v4l2VEA: Configure framerate and bitrate only if they vary
The original V4L2VideoEncodeAccelerator execute IOCTLs to configure framerate and bitrate every RequestEncodingParametersChange() even though they are the same as the last configured values. This CL have V4L2VEA reconfigure the framerate and bitrate only if they vary. This also fixes the flood of the parameter change logging in chrome log. Bug: None Test: run VEA test on scarlet Test: appr.tc/?vsc=h264&debug=loopback Change-Id: Ibe830797436a05d31f516af0845211f5da707fc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2082739 Auto-Submit: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#748523}
Showing
Please register or sign in to comment