Commit 830229c8 by Oliver Woodman

Fix Libopus renderer's isReady to take into account outputBuffer avail.

parent f8d2229f
......@@ -324,7 +324,8 @@ public final class LibopusAudioTrackRenderer extends SampleSourceTrackRenderer
@Override
protected boolean isReady() {
return audioTrack.hasPendingData() || (format != null && sourceIsReady);
return audioTrack.hasPendingData()
|| (format != null && (sourceIsReady || outputBuffer != null));
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment