Catch IAE when video thumbnail extractor cannot instantiate a decoder.
This commit is contained in:
parent
8ffad4cc6f
commit
b4ae13fe8a
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ final class VideoThumbnailsExtractor {
|
||||||
|
|
||||||
doExtract(extractor, decoder, outputSurface, outputWidthRotated, outputHeightRotated, duration, thumbnailCount, callback);
|
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);
|
Log.w(TAG, e);
|
||||||
callback.failed();
|
callback.failed();
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Reference in a new issue