Skip to content

Commit

Permalink
Fix SimpleDecoderAudioRenderer processEndOfStream error propagation
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183068548
  • Loading branch information
AquilesCanta authored and ojw28 committed Jan 24, 2018
1 parent b8bb1f6 commit 91cacc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private void processEndOfStream() throws ExoPlaybackException {
try {
audioSink.playToEndOfStream();
} catch (AudioSink.WriteException e) {
throw ExoPlaybackException.createForRenderer(drmSession.getError(), getIndex());
throw ExoPlaybackException.createForRenderer(e, getIndex());
}
}

Expand Down

0 comments on commit 91cacc2

Please sign in to comment.