Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 702f70a0 authored by Manikanta Kanamarlapudi's avatar Manikanta Kanamarlapudi Committed by Ethan Chen
Browse files

libstagefright: Fix incorrect duration calculation

MPEG4Writer uses timescale parameter for calculating duration.
For HFR, divide timescale with HFR ratio factor to play
at 30fps. Added the same in MovieHeader(mvhd) and track
hdeader(tkhd) atom.

REF: CYNGNOS-922
Change-Id: I0ed92ef7a95c4b2b98567949b3b475d85d6bb16f
parent f91cceda
Loading
Loading
Loading
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