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

Skip to content
Commit bbc66680 authored by Manikanta Kanamarlapudi's avatar Manikanta Kanamarlapudi Committed by Steve Kondik
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.

Change-Id: I0ed92ef7a95c4b2b98567949b3b475d85d6bb16f
parent 72323a4c
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