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
0f360817
Commit
0f360817
authored
Dec 03, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks vars command a bit.
parent
64339830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
src/misc/objects.c
src/misc/objects.c
+14
-11
No files found.
src/misc/objects.c
View file @
0f360817
...
...
@@ -788,36 +788,39 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd,
MYCASE
(
LIST
,
"list"
);
#undef MYCASE
}
printf
(
" %c-o
\"
%s
\"
(%s
), %d callbacks:
"
,
printf
(
" %c-o
\"
%s
\"
(%s"
,
i
+
1
==
p_object
->
i_vars
?
'`'
:
'|'
,
p_var
->
psz_name
,
psz_type
,
p_var
->
i_entries
);
p_var
->
psz_name
,
psz_type
);
if
(
p_var
->
psz_text
)
printf
(
", %s"
,
p_var
->
psz_text
);
printf
(
")"
);
if
(
p_var
->
i_entries
)
printf
(
", %d callbacks"
,
p_var
->
i_entries
);
switch
(
p_var
->
i_type
&
0x00f0
)
{
case
VLC_VAR_VOID
:
case
VLC_VAR_MUTEX
:
printf
(
"not available"
);
break
;
case
VLC_VAR_BOOL
:
printf
(
p_var
->
val
.
b_bool
?
"true"
:
"false"
);
printf
(
": %s"
,
p_var
->
val
.
b_bool
?
"true"
:
"false"
);
break
;
case
VLC_VAR_INTEGER
:
printf
(
"%d"
,
p_var
->
val
.
i_int
);
printf
(
"
:
%d"
,
p_var
->
val
.
i_int
);
break
;
case
VLC_VAR_STRING
:
printf
(
"
%s
"
,
p_var
->
val
.
psz_string
);
printf
(
"
:
\"
%s
\"
"
,
p_var
->
val
.
psz_string
);
break
;
case
VLC_VAR_FLOAT
:
printf
(
"%f"
,
p_var
->
val
.
f_float
);
printf
(
"
:
%f"
,
p_var
->
val
.
f_float
);
break
;
case
VLC_VAR_TIME
:
printf
(
I64Fi
,
p_var
->
val
.
i_time
);
printf
(
": "
I64Fi
,
p_var
->
val
.
i_time
);
break
;
case
VLC_VAR_ADDRESS
:
printf
(
"%p"
,
p_var
->
val
.
p_address
);
printf
(
"
:
%p"
,
p_var
->
val
.
p_address
);
break
;
case
VLC_VAR_LIST
:
printf
(
"TODO"
);
printf
(
"
:
TODO"
);
break
;
}
printf
(
"
\n
"
);
...
...
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