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
914e2be1
Commit
914e2be1
authored
Feb 08, 2010
by
Fabio Ritrovato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua SD: use a nicer icon for nodes
parent
2beb76a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/misc/lua/libs/sd.c
modules/misc/lua/libs/sd.c
+7
-4
No files found.
modules/misc/lua/libs/sd.c
View file @
914e2be1
...
...
@@ -5,7 +5,7 @@
* $Id$
*
* Authors: Antoine Cellerier <dionoea at videolan tod org>
* Fabio Ritrovato <
ex
sephiroth87 at videolan dot org>
* Fabio Ritrovato <sephiroth87 at videolan dot org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -120,7 +120,9 @@ static int vlclua_sd_add_node( lua_State *L )
{
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
lua_pop
(
L
,
1
);
input_item_t
*
p_input
=
input_item_New
(
p_sd
,
"vlc://nop"
,
name
);
input_item_t
*
p_input
=
input_item_NewWithType
(
p_sd
,
"vlc://nop"
,
name
,
0
,
NULL
,
0
,
-
1
,
ITEM_TYPE_NODE
);
free
(
name
);
lua_getfield
(
L
,
-
1
,
"arturl"
);
if
(
lua_isstring
(
L
,
-
1
)
)
...
...
@@ -267,8 +269,9 @@ static int vlclua_node_add_node( lua_State *L )
char
*
name
=
strdup
(
lua_tostring
(
L
,
-
1
)
);
lua_pop
(
L
,
1
);
input_item_node_t
*
p_input_node
=
input_item_node_Create
(
*
pp_node
);
input_item_t
*
p_input
=
input_item_New
(
p_sd
,
"vlc://nop"
,
name
);
input_item_t
*
p_input
=
input_item_NewWithType
(
p_sd
,
"vlc://nop"
,
name
,
0
,
NULL
,
0
,
-
1
,
ITEM_TYPE_NODE
);
free
(
name
);
lua_getfield
(
L
,
-
1
,
"arturl"
);
if
(
lua_isstring
(
L
,
-
1
)
)
...
...
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