Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4e943d01
Commit
4e943d01
authored
Oct 31, 2014
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Oct 31, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android/opaque: check if subtitles_picture is not NULL
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
fb23e240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_output/android/opaque.c
modules/video_output/android/opaque.c
+3
-2
No files found.
modules/video_output/android/opaque.c
View file @
4e943d01
...
...
@@ -265,7 +265,8 @@ static void Close(vlc_object_t *p_this)
if
(
sys
->
window
)
sys
->
native_window
.
winRelease
(
sys
->
window
);
dlclose
(
sys
->
p_library
);
picture_Release
(
sys
->
subtitles_picture
);
if
(
sys
->
subtitles_picture
)
picture_Release
(
sys
->
subtitles_picture
);
if
(
sys
->
p_spu_blend
)
filter_DeleteBlend
(
sys
->
p_spu_blend
);
free
(
sys
);
...
...
@@ -304,7 +305,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
if
(
display_callback
)
display_callback
(
p_picsys
);
if
(
subpicture
)
if
(
subpicture
&&
sys
->
subtitles_picture
)
sys
->
b_has_subpictures
=
true
;
/* As long as no subpicture was received, do not call
DisplaySubpicture since JNI calls and clearing the subtitles
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment