Commit 3fe0c8d0 authored by Pin-chih Lin's avatar Pin-chih Lin
Browse files

C2VDAComponent: handle empty CSD work

In MediaCodec, CSD buffers are allowed to be empty (size=0), as for CCodec
there is no input buffer sent along the work. We need to handle empty CSD
buffer case for C2VDAComponent and tell apart from EOS work which also contains
no input buffer.

Bug: 80402878
Test: android.media.cts.AdaptivePlaybackTest#testH264_adaptiveEarlyEos for
codec2.0 on eve-arcnext

Change-Id: I19bf54d9bbbda89713660e0e73c3f5a10f93e106
parent 06bccf3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment