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
f22bfe80
Commit
f22bfe80
authored
Mar 11, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use %f in RRD output (Closes:#582)
parent
82d18225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
modules/misc/logger.c
modules/misc/logger.c
+11
-4
No files found.
modules/misc/logger.c
View file @
f22bfe80
...
...
@@ -440,11 +440,18 @@ static void DoRRD( intf_thread_t *p_intf )
FIND_ANYWHERE
);
if
(
p_playlist
&&
p_playlist
->
p_stats
)
{
fprintf
(
p_intf
->
p_sys
->
p_rrd
,
I64Fi
":%f:%f:%f
\n
"
,
lldiv_t
din
=
lldiv
(
p_playlist
->
p_stats
->
f_input_bitrate
*
1000000
,
1000
);
lldiv_t
ddm
=
lldiv
(
p_playlist
->
p_stats
->
f_demux_bitrate
*
1000000
,
1000
);
lldiv_t
dout
=
lldiv
(
p_playlist
->
p_stats
->
f_output_bitrate
*
1000000
,
1000
);
fprintf
(
p_intf
->
p_sys
->
p_rrd
,
I64Fi
":"
I64Fd
".%03u:"
I64Fd
".%03u:"
I64Fd
".%03u
\n
"
,
p_intf
->
p_sys
->
last_update
/
1000000
,
(
float
)(
p_playlist
->
p_stats
->
f_input_bitrate
)
*
1000
,
(
float
)(
p_playlist
->
p_stats
->
f_demux_bitrate
)
*
1000
,
(
float
)(
p_playlist
->
p_stats
->
f_output_bitrate
)
*
1000
);
din
.
quot
,
(
unsigned
int
)
din
.
rem
,
ddm
.
quot
,
(
unsigned
int
)
ddm
.
rem
,
dout
.
quot
,
(
unsigned
int
)
dout
.
rem
);
fflush
(
p_intf
->
p_sys
->
p_rrd
);
vlc_object_release
(
p_playlist
);
}
...
...
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