mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 11:15:44 +00:00
Catch MediaCodecException in extractThumbnails for configuration crash.
This commit is contained in:
@@ -97,7 +97,7 @@ final class VideoThumbnailsExtractor {
|
||||
|
||||
doExtract(extractor, decoder, outputSurface, outputWidthRotated, outputHeightRotated, duration, thumbnailCount, callback);
|
||||
}
|
||||
} catch (IOException | TranscodingException e) {
|
||||
} catch (IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
Log.w(TAG, e);
|
||||
callback.failed();
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user