Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
15b81850
Commit
15b81850
authored
Jul 23, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Directly release the input thread.
parent
55fafc2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/control/media_player.c
src/control/media_player.c
+2
-8
No files found.
src/control/media_player.c
View file @
15b81850
...
@@ -393,14 +393,8 @@ static void libvlc_media_player_destroy( libvlc_media_player_t *p_mi )
...
@@ -393,14 +393,8 @@ static void libvlc_media_player_destroy( libvlc_media_player_t *p_mi )
var_DelCallback
(
p_mi
->
p_libvlc_instance
->
p_libvlc_int
,
var_DelCallback
(
p_mi
->
p_libvlc_instance
->
p_libvlc_int
,
"vout-snapshottaken"
,
SnapshotTakenCallback
,
p_mi
);
"vout-snapshottaken"
,
SnapshotTakenCallback
,
p_mi
);
libvlc_exception_init
(
&
p_e
);
/* Realease the input thread */
p_input_thread
=
libvlc_get_input_thread
(
p_mi
,
&
p_e
);
release_input_thread
(
p_mi
,
true
);
if
(
libvlc_exception_raised
(
&
p_e
)
)
/* no need to worry about no input thread */
libvlc_exception_clear
(
&
p_e
);
else
release_input_thread
(
p_mi
,
true
);
libvlc_event_manager_release
(
p_mi
->
p_event_manager
);
libvlc_event_manager_release
(
p_mi
->
p_event_manager
);
libvlc_media_release
(
p_mi
->
p_md
);
libvlc_media_release
(
p_mi
->
p_md
);
...
...
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