kopia lustrzana https://github.com/ryukoposting/Signal-Android
Catch IAE when video thumbnail extractor cannot instantiate a decoder.
rodzic
8ffad4cc6f
commit
b4ae13fe8a
|
@ -97,7 +97,7 @@ final class VideoThumbnailsExtractor {
|
|||
|
||||
doExtract(extractor, decoder, outputSurface, outputWidthRotated, outputHeightRotated, duration, thumbnailCount, callback);
|
||||
}
|
||||
} catch (IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
} catch (IllegalArgumentException | IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
Log.w(TAG, e);
|
||||
callback.failed();
|
||||
} finally {
|
||||
|
|
Ładowanie…
Reference in New Issue