shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java
@Implementation(minSdk = LOLLIPOP)
  protected void releaseOutputBuffer(int index, boolean render, boolean updatePTS, long timeNs) {
    if (reachedEos) {
      return;
    }

    makeInputBufferAvailable(index);
  }
@Implementation(minSdk = LOLLIPOP)
  protected void releaseOutputBuffer(int index, boolean render, boolean updatePTS, long timeNs) {
    if (reachedEos) {
      return;
    }

    makeInputBufferAvailable(index);
  }
Triggers presentation of the corresponding input buffer for the given output buffer, if end of
stream has not yet been signaled.