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
696f7c1d
Commit
696f7c1d
authored
Dec 03, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vlc_variables.h: remove unused VLC_VAR_ISCONFIG define
* objects.c: some more vars command stuff
parent
45956533
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
include/vlc_variables.h
include/vlc_variables.h
+0
-1
src/misc/objects.c
src/misc/objects.c
+5
-1
No files found.
include/vlc_variables.h
View file @
696f7c1d
...
...
@@ -55,7 +55,6 @@
#define VLC_VAR_ISLIST 0x1000
#define VLC_VAR_ISCOMMAND 0x2000
#define VLC_VAR_ISCONFIG 0x2000
/** Creation flag */
#define VLC_VAR_DOINHERIT 0x8000
...
...
src/misc/objects.c
View file @
696f7c1d
...
...
@@ -761,12 +761,14 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd,
PrintObject
(
p_object
,
""
);
if
(
!
p_object
->
i_vars
)
printf
(
" `-o No variables
\n
"
);
for
(
i
=
0
;
i
<
p_object
->
i_vars
;
i
++
)
{
variable_t
*
p_var
=
p_object
->
p_vars
+
i
;
const
char
*
psz_type
=
"unknown"
;
switch
(
p_var
->
i_type
&
0x00ff
)
switch
(
p_var
->
i_type
&
VLC_VAR_TYPE
)
{
#define MYCASE( type, nice ) \
case VLC_VAR_ ## type: \
...
...
@@ -794,6 +796,8 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd,
if
(
p_var
->
psz_text
)
printf
(
", %s"
,
p_var
->
psz_text
);
printf
(
")"
);
if
(
p_var
->
i_type
&
VLC_VAR_ISCOMMAND
)
printf
(
", command"
);
if
(
p_var
->
i_entries
)
printf
(
", %d callbacks"
,
p_var
->
i_entries
);
switch
(
p_var
->
i_type
&
0x00f0
)
...
...
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