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
0a15eecf
Commit
0a15eecf
authored
May 05, 2010
by
Jean-Philippe André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extensions: fix vlc.deactivate() malfunction
Inspired by jetru's patches, thank you. This should fix #3451
parent
69d7fdea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/misc/lua/extension_thread.c
modules/misc/lua/extension_thread.c
+6
-2
No files found.
modules/misc/lua/extension_thread.c
View file @
0a15eecf
...
@@ -146,11 +146,15 @@ int Deactivate( extensions_manager_t *p_mgr, extension_t *p_ext )
...
@@ -146,11 +146,15 @@ int Deactivate( extensions_manager_t *p_mgr, extension_t *p_ext )
}
}
/* Free the list of commands */
/* Free the list of commands */
FreeCommands
(
p_ext
->
p_sys
->
command
);
if
(
p_ext
->
p_sys
->
command
)
FreeCommands
(
p_ext
->
p_sys
->
command
->
next
);
/* Push command */
/* Push command */
struct
command_t
*
cmd
=
calloc
(
1
,
sizeof
(
struct
command_t
)
);
struct
command_t
*
cmd
=
calloc
(
1
,
sizeof
(
struct
command_t
)
);
cmd
->
i_command
=
CMD_DEACTIVATE
;
cmd
->
i_command
=
CMD_DEACTIVATE
;
if
(
p_ext
->
p_sys
->
command
)
p_ext
->
p_sys
->
command
->
next
=
cmd
;
else
p_ext
->
p_sys
->
command
=
cmd
;
p_ext
->
p_sys
->
command
=
cmd
;
vlc_cond_signal
(
&
p_ext
->
p_sys
->
wait
);
vlc_cond_signal
(
&
p_ext
->
p_sys
->
wait
);
...
...
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