Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Signal-Android
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GitHub Mirror
Signal
Signal-Android
Commits
e97a14f6
Commit
e97a14f6
authored
4 years ago
by
Alex Hart
Browse files
Options
Downloads
Patches
Plain Diff
Prevent crash when thumbnail decoder cannot stop, log instead.
parent
b7118b6b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/org/thoughtcrime/securesms/video/videoconverter/VideoThumbnailsExtractor.java
+5
-1
5 additions, 1 deletion
...uresms/video/videoconverter/VideoThumbnailsExtractor.java
with
5 additions
and
1 deletion
app/src/main/java/org/thoughtcrime/securesms/video/videoconverter/VideoThumbnailsExtractor.java
+
5
−
1
View file @
e97a14f6
...
@@ -105,7 +105,11 @@ final class VideoThumbnailsExtractor {
...
@@ -105,7 +105,11 @@ final class VideoThumbnailsExtractor {
outputSurface
.
release
();
outputSurface
.
release
();
}
}
if
(
decoder
!=
null
)
{
if
(
decoder
!=
null
)
{
try
{
decoder
.
stop
();
decoder
.
stop
();
}
catch
(
MediaCodec
.
CodecException
codecException
)
{
Log
.
w
(
TAG
,
"Decoder stop failed: "
+
codecException
.
getDiagnosticInfo
(),
codecException
);
}
decoder
.
release
();
decoder
.
release
();
}
}
if
(
extractor
!=
null
)
{
if
(
extractor
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment