Round the frame rate in MediaFormat
Although MediaCodec claims supporting float frame rate, encoder init failed on API21 Nexus 5. Since it's just a performance hint to the codec, it's OK to generalize it to other API versions. PiperOrigin-RevId: 458434650
Showing
with
2 additions
and
1 deletions
Please
register
or
sign in
to comment