Skip to content
Snippets Groups Projects
Commit 39f241ae authored by Shao-Chuan Lee's avatar Shao-Chuan Lee
Browse files

V4L2EncodeComponent: clamp framerate to at least 1 on dynamic framerate change

Dynamic framerate based on timestamps can become zero when input frames
are supplied at >1 sec intervals.

Bug: 228828942
Test: android.media.cts.EncodeVirtualDisplayWithCompositionTest#testVirtualDisplayRecycles
Test: com.google.android.media.gts.RtcVideoCodecTest#testDynamicFramerateChangeVp8
Change-Id: I3ceefaad9b420f86e4f0b524e6f0b5649af9997b
parent 42116ed3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment