kopia lustrzana https://github.com/ryukoposting/Signal-Android
Prevent video thumbnail creation from crashing the app.
rodzic
ab3e0b87c6
commit
dc503e3406
|
@ -97,8 +97,8 @@ final class VideoThumbnailsExtractor {
|
|||
|
||||
doExtract(extractor, decoder, outputSurface, outputWidthRotated, outputHeightRotated, duration, thumbnailCount, callback);
|
||||
}
|
||||
} catch (IllegalArgumentException | IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
Log.w(TAG, e);
|
||||
} catch (Throwable t) {
|
||||
Log.w(TAG, t);
|
||||
callback.failed();
|
||||
} finally {
|
||||
if (outputSurface != null) {
|
||||
|
|
Ładowanie…
Reference in New Issue