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

Skip to content
Commit 1900a848 authored by Sidipotu Ashok's avatar Sidipotu Ashok Committed by Linux Build Service Account
Browse files

MediaCodec: reset size to zero for EOS.

testflush CTS test doesn't have logic to detect EOS. For EOS buffer,
input size from parser is -1, testflush CTS test sends this EOS buffer
without checking for valid input buffer size. MediaCodec rejects
this buffer, which results in testflush test failure.
To solve this reset the size to zero in Mediacodec if input buffer
size is invalid and EOS flag is set.

CRs-Fixed: 911338
Change-Id: I31727a00e0edf5604d0409fecbd976334508e6d7
parent 88c2fb9a
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