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
9d78b230
Commit
9d78b230
authored
Sep 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format string fixes
parent
d699c5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/control/rc.c
modules/control/rc.c
+4
-3
No files found.
modules/control/rc.c
View file @
9d78b230
...
...
@@ -146,6 +146,7 @@ struct intf_sys_t
#define msg_rc( ... ) __msg_rc( p_intf, __VA_ARGS__ )
LIBVLC_FORMAT
(
2
,
3
)
static
void
__msg_rc
(
intf_thread_t
*
p_intf
,
const
char
*
psz_fmt
,
...
)
{
va_list
args
;
...
...
@@ -728,7 +729,7 @@ static void Run( intf_thread_t *p_intf )
{
vlc_value_t
time
;
var_Get
(
p_input
,
"time"
,
&
time
);
msg_rc
(
"%
i"
,
time
.
i_time
/
1000000
);
msg_rc
(
"%
"
PRIu64
,
time
.
i_time
/
1000000
);
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"get_length"
)
)
...
...
@@ -741,14 +742,14 @@ static void Run( intf_thread_t *p_intf )
{
vlc_value_t
time
;
var_Get
(
p_input
,
"length"
,
&
time
);
msg_rc
(
"%
i"
,
time
.
i_time
/
1000000
);
msg_rc
(
"%
"
PRIu64
,
time
.
i_time
/
1000000
);
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"get_title"
)
)
{
if
(
!
p_input
)
{
msg_rc
(
""
);
msg_rc
(
"
%s"
,
"
"
);
}
else
{
...
...
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