Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
0c3523ac
Commit
0c3523ac
authored
Oct 12, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format - intmax != int64
parent
b815d93d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
modules/misc/logger.c
modules/misc/logger.c
+5
-8
No files found.
modules/misc/logger.c
View file @
0c3523ac
...
...
@@ -445,18 +445,15 @@ static void DoRRD( intf_thread_t *p_intf )
if
(
p_intf
->
p_libvlc
->
p_stats
)
{
time
(
&
p_intf
->
p_sys
->
now
);
lldiv_t
d
in
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_input_bitrate
*
1000000
,
lldiv_t
in
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_input_bitrate
*
1000000
,
1000
);
lldiv_t
d
d
m
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_demux_bitrate
*
1000000
,
lldiv_t
dm
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_demux_bitrate
*
1000000
,
1000
);
lldiv_t
d
out
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_output_bitrate
*
1000000
,
lldiv_t
out
=
lldiv
(
p_intf
->
p_libvlc
->
p_stats
->
f_output_bitrate
*
1000000
,
1000
);
fprintf
(
p_intf
->
p_sys
->
p_rrd
,
"%"
PRIi64
":%lld.%03u:%lld.%03u:%lld.%03u
\n
"
,
(
uintmax_t
)
p_intf
->
p_sys
->
now
,
din
.
quot
,
(
unsigned
int
)
din
.
rem
,
ddm
.
quot
,
(
unsigned
int
)
ddm
.
rem
,
dout
.
quot
,
(
unsigned
int
)
dout
.
rem
);
"%"
PRIi64
":%lld.%03llu:%lld.%03llu:%lld.%03llu
\n
"
,
now
,
in
.
quot
,
in
.
rem
,
dm
.
quot
,
dm
.
rem
,
out
.
quot
,
out
.
rem
);
fflush
(
p_intf
->
p_sys
->
p_rrd
);
}
}
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