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

Skip to content
Commit f4db8042 authored by Jaideep Sharma's avatar Jaideep Sharma Committed by Ray Essick
Browse files

FlacEncoder: handle EOS properly.

 - If EOS comes with first frame, notifyFillBuffer for outbuffer was not done.
 - When EOS comes after last frame, it was setting timestamp to 0,
   consider timestamp from valid frames only.

Test: testSimpleEncodeNative[8(audio/flac)]
Test: testOnlyEos[8(audio/flac)]
Test: testOnlyEosNative[8(audio/flac)]
Test: testSimpleEncode[8(audio/flac)]
Bug: 156203931

Change-Id: I9510bc284c5318aa6d1832993490fbcffb6d2151
parent 943e41be
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