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
04192313
Commit
04192313
authored
Oct 11, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua extensions: remove dummy function (moreover vlc_join is simpler to understand)
parent
2d0aee25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
8 deletions
+1
-8
modules/misc/lua/extension.c
modules/misc/lua/extension.c
+1
-1
modules/misc/lua/extension.h
modules/misc/lua/extension.h
+0
-1
modules/misc/lua/extension_thread.c
modules/misc/lua/extension_thread.c
+0
-6
No files found.
modules/misc/lua/extension.c
View file @
04192313
...
...
@@ -136,7 +136,7 @@ void Close_Extension( vlc_object_t *p_this )
if
(
!
p_ext
)
break
;
msg_Dbg
(
p_mgr
,
"Deactivating '%s'"
,
p_ext
->
psz_title
);
Deactivate
(
p_mgr
,
p_ext
);
WaitForDeactivation
(
p_ext
);
vlc_join
(
p_ext
->
p_sys
->
thread
,
NULL
);
}
FOREACH_END
()
...
...
modules/misc/lua/extension.h
View file @
04192313
...
...
@@ -94,7 +94,6 @@ struct extension_sys_t
int
Activate
(
extensions_manager_t
*
p_mgr
,
extension_t
*
);
bool
IsActivated
(
extensions_manager_t
*
p_mgr
,
extension_t
*
);
int
Deactivate
(
extensions_manager_t
*
p_mgr
,
extension_t
*
);
void
WaitForDeactivation
(
extension_t
*
p_ext
);
int
__PushCommand
(
extension_t
*
ext
,
bool
unique
,
command_type_e
cmd
,
va_list
options
);
static
inline
int
PushCommand
(
extension_t
*
ext
,
int
cmd
,
...
)
{
...
...
modules/misc/lua/extension_thread.c
View file @
04192313
...
...
@@ -200,12 +200,6 @@ static int RemoveActivated( extensions_manager_t *p_mgr, extension_t *p_ext )
return
(
i_idx
>=
0
)
?
VLC_SUCCESS
:
VLC_EGENERIC
;
}
/** Wait for an extension to finish */
void
WaitForDeactivation
(
extension_t
*
p_ext
)
{
vlc_join
(
p_ext
->
p_sys
->
thread
,
NULL
);
}
/** Push a UI command */
int
__PushCommand
(
extension_t
*
p_ext
,
bool
b_unique
,
command_type_e
i_command
,
va_list
args
)
...
...
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