Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
132d6e2f
Commit
132d6e2f
authored
Sep 17, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: Print debug message only if really wanted.
parent
21724f58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
modules/misc/lua/luameta.c
modules/misc/lua/luameta.c
+1
-1
modules/misc/lua/vlclua.h
modules/misc/lua/vlclua.h
+17
-0
No files found.
modules/misc/lua/luameta.c
View file @
132d6e2f
...
...
@@ -173,7 +173,7 @@ static int fetch_art( vlc_object_t *p_this, const char * psz_filename,
psz_value
=
lua_tostring
(
p_state
,
s
);
if
(
psz_value
&&
*
psz_value
!=
0
)
{
msg
_Dbg
(
p_this
,
"setting arturl: %s"
,
psz_value
);
lua
_Dbg
(
p_this
,
"setting arturl: %s"
,
psz_value
);
input_item_SetArtURL
(
p_input
,
psz_value
);
i_ret
=
VLC_SUCCESS
;
}
...
...
modules/misc/lua/vlclua.h
View file @
132d6e2f
...
...
@@ -57,6 +57,23 @@ int E_(FindMeta)( vlc_object_t * );
int
E_
(
Import_LuaPlaylist
)(
vlc_object_t
*
);
void
E_
(
Close_LuaPlaylist
)(
vlc_object_t
*
);
/*****************************************************************************
* Lua debug
*****************************************************************************/
static
inline
void
lua_Dbg
(
vlc_object_t
*
p_this
,
const
char
*
ppz_fmt
,
...
)
{
if
(
p_this
->
p_libvlc
->
i_verbose
<
3
)
return
;
va_list
ap
;
va_start
(
ap
,
ppz_fmt
);
__msg_GenericVa
(
(
vlc_object_t
*
)
p_this
,
MSG_QUEUE_NORMAL
,
VLC_MSG_DBG
,
MODULE_STRING
,
ppz_fmt
,
ap
);
va_end
(
ap
);
}
/*****************************************************************************
* Lua function bridge
*****************************************************************************/
...
...
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