Skip to content

Commit

Permalink
replace throw error to logger error
Browse files Browse the repository at this point in the history
  • Loading branch information
MasayukiSuda committed Aug 10, 2019
1 parent cc9c9f9 commit 9c4edd1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ void compose(
mediaExtractor = null;
}
} catch (RuntimeException e) {
// Too fatal to make alive the app, because it may leak native resources.
//noinspection ThrowFromFinallyBlock
throw new Error("Could not shutdown mediaExtractor, codecs and mediaMuxer pipeline.", e);
logger.error(TAG, "Could not shutdown mediaExtractor, codecs and mediaMuxer pipeline.", e);
}
try {
if (mediaMuxer != null) {
Expand Down

0 comments on commit 9c4edd1

Please sign in to comment.