public boolean isEOS() {
        //return getCurrentDecodingPTS() == MediaCodecDecoder.PTS_EOS;
        int eosCount = 0;
        for (MediaCodecDecoder decoder : mDecoders) {
            if(decoder.isOutputEos()) {
                eosCount++;
            }
        }
        return eosCount == mDecoders.size();
    }
Releases all decoders. This must be called to free decoder resources when this object is no longer in use.
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/Decoders.java