CCodec: fix corner cases
- Catch invalid createInputSurface requests. - Move buffer allocation from setComponent() to start(). - Reset input surface at stop(). - Ignore flushed work. Bug: 74073134 Test: adb shell setprop debug.stagefright.ccodec yes Test: adb shell setprop debug.stagefright.omx_default_rank 1000 Test: adb shell killall mediaserver Test: atest android.media.cts.MediaCodecTest Change-Id: If95d3050e14fa9592d7eff4136a57326008455a0 (cherry picked from commit e1c3b395)
Loading
Please register or sign in to comment