Commit cf132805 by Oliver Woodman

Allow onOutputFormatChanged to throw ExoPlaybackException

parent 3f05ddbc
...@@ -750,8 +750,10 @@ public abstract class MediaCodecTrackRenderer extends SampleSourceTrackRenderer ...@@ -750,8 +750,10 @@ public abstract class MediaCodecTrackRenderer extends SampleSourceTrackRenderer
* The default implementation is a no-op. * The default implementation is a no-op.
* *
* @param outputFormat The new output format. * @param outputFormat The new output format.
* @throws ExoPlaybackException If an error occurs on output format change.
*/ */
protected void onOutputFormatChanged(android.media.MediaFormat outputFormat) { protected void onOutputFormatChanged(android.media.MediaFormat outputFormat)
throws ExoPlaybackException {
// Do nothing. // Do nothing.
} }
......
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