Commit 91cacc29 by aquilescanta Committed by Oliver Woodman

Fix SimpleDecoderAudioRenderer processEndOfStream error propagation

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183068548
parent b8bb1f64
......@@ -426,7 +426,7 @@ public abstract class SimpleDecoderAudioRenderer extends BaseRenderer implements
try {
audioSink.playToEndOfStream();
} catch (AudioSink.WriteException e) {
throw ExoPlaybackException.createForRenderer(drmSession.getError(), getIndex());
throw ExoPlaybackException.createForRenderer(e, getIndex());
}
}
......
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