Fix crash when sending video (due to IllegalStateException).

fork-5.53.8
Alex Hart 2021-07-20 13:12:15 -03:00 zatwierdzone przez Greyson Parrelli
rodzic ed23c3fe7c
commit b100262c6a
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -109,6 +109,8 @@ final class VideoThumbnailsExtractor {
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();
}