Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
29396e29
Commit
29396e29
authored
Mar 24, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: remove unused parameter
parent
c61fe43a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
modules/lua/intf.c
modules/lua/intf.c
+2
-2
modules/lua/services_discovery.c
modules/lua/services_discovery.c
+1
-1
modules/lua/vlc.c
modules/lua/vlc.c
+1
-1
modules/lua/vlc.h
modules/lua/vlc.h
+1
-1
No files found.
modules/lua/intf.c
View file @
29396e29
...
...
@@ -221,7 +221,7 @@ static int Start_LuaIntf( vlc_object_t *p_this, const char *name )
return
VLC_ENOMEM
;
}
p_sys
=
p_intf
->
p_sys
;
p_sys
->
psz_filename
=
vlclua_find_file
(
p_this
,
"intf"
,
name
);
p_sys
->
psz_filename
=
vlclua_find_file
(
"intf"
,
name
);
if
(
!
p_sys
->
psz_filename
)
{
msg_Err
(
p_intf
,
"Couldn't find lua interface script
\"
%s
\"
."
,
...
...
@@ -346,7 +346,7 @@ static int Start_LuaIntf( vlc_object_t *p_this, const char *name )
/* msg_Warn( p_intf, "The `telnet' lua interface script was replaced "
"by `cli', please update your configuration!" ); */
char
*
wrapped_file
=
vlclua_find_file
(
p_this
,
"intf"
,
"cli"
);
char
*
wrapped_file
=
vlclua_find_file
(
"intf"
,
"cli"
);
if
(
!
wrapped_file
)
{
msg_Err
(
p_intf
,
"Couldn't find lua interface script
\"
cli
\"
, "
...
...
modules/lua/services_discovery.c
View file @
29396e29
...
...
@@ -90,7 +90,7 @@ int Open_LuaSD( vlc_object_t *p_this )
}
p_sd
->
p_sys
=
p_sys
;
p_sd
->
pf_control
=
Control
;
p_sys
->
psz_filename
=
vlclua_find_file
(
p_this
,
"sd"
,
psz_name
);
p_sys
->
psz_filename
=
vlclua_find_file
(
"sd"
,
psz_name
);
if
(
!
p_sys
->
psz_filename
)
{
msg_Err
(
p_sd
,
"Couldn't find lua services discovery script
\"
%s
\"
."
,
...
...
modules/lua/vlc.c
View file @
29396e29
...
...
@@ -316,7 +316,7 @@ int vlclua_scripts_batch_execute( vlc_object_t *p_this,
return
i_ret
;
}
char
*
vlclua_find_file
(
vlc_object_t
*
p_this
,
const
char
*
psz_luadirname
,
const
char
*
psz_name
)
char
*
vlclua_find_file
(
const
char
*
psz_luadirname
,
const
char
*
psz_name
)
{
char
**
ppsz_dir_list
=
NULL
;
vlclua_dir_list
(
psz_luadirname
,
&
ppsz_dir_list
);
...
...
modules/lua/vlc.h
View file @
29396e29
...
...
@@ -131,7 +131,7 @@ int vlclua_scripts_batch_execute( vlc_object_t *p_this, const char * luadirname,
void
*
user_data
);
int
vlclua_dir_list
(
const
char
*
luadirname
,
char
***
pppsz_dir_list
);
void
vlclua_dir_list_free
(
char
**
ppsz_dir_list
);
char
*
vlclua_find_file
(
vlc_object_t
*
p_this
,
const
char
*
psz_luadirname
,
const
char
*
psz_name
);
char
*
vlclua_find_file
(
const
char
*
psz_luadirname
,
const
char
*
psz_name
);
/*****************************************************************************
* Replace Lua file reader by VLC input. Allows loadings scripts in Zip pkg.
...
...
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