media/extensions/vp9/src/main
andrewlewis c685e27972 Fix {Opus,Vpx}DecoderWrapper flush() buffer handling.
Currently, input/output buffers can 'leak' if they are dequeued then the decoder
is flush()ed. This happens if an input buffer is dequeued then a discontinuity
is read, or an output buffer is dequeued and is early. If this happens several
times, no more buffers are available.

This change makes flush() work like MediaCodec: it returns all dequeued
input/output buffers to the codec. Keeping the behavior in line with MediaCodec
might make it easier to factor out a common decoder interface in the future.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=109054178
2015-12-02 17:01:48 +00:00
..
.settings webm branch cleanup 2015-05-22 21:50:29 +01:00
java/com/google/android/exoplayer/ext/vp9 Fix {Opus,Vpx}DecoderWrapper flush() buffer handling. 2015-12-02 17:01:48 +00:00
jni Make output mode a tri-state flag instead of binary 2015-11-25 17:03:11 +00:00
res Add VP9 Native Extension 2015-02-02 14:41:34 -08:00
.classpath Add VP9 Native Extension 2015-02-02 14:41:34 -08:00
.cproject Add VP9 Native Extension 2015-02-02 14:41:34 -08:00
.project Add VP9 Native Extension 2015-02-02 14:41:34 -08:00
AndroidManifest.xml Move to target API level 23 2015-10-26 15:02:32 +00:00
proguard.cfg Add proguard config for VP9 extension 2015-11-27 18:09:56 +00:00
project.properties Move to target API level 23 2015-10-26 15:02:32 +00:00