Skip to content

Commit

Permalink
Fix crash when sending video (due to IllegalStateException).
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and greyson-signal committed Jul 21, 2021
1 parent ed23c3f commit b100262
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -109,6 +109,8 @@ static void extractThumbnails(final @NonNull MediaInput input,
decoder.stop();
} catch (MediaCodec.CodecException codecException) {
Log.w(TAG, "Decoder stop failed: " + codecException.getDiagnosticInfo(), codecException);
} catch (IllegalStateException ise) {
Log.w(TAG, "Decoder stop failed", ise);
}
decoder.release();
}
Expand Down

0 comments on commit b100262

Please sign in to comment.