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
3b8fa2db
Commit
3b8fa2db
authored
Nov 28, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: sync statistics strings with rc.c
parent
610c68d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
modules/gui/ncurses.c
modules/gui/ncurses.c
+17
-17
No files found.
modules/gui/ncurses.c
View file @
3b8fa2db
...
...
@@ -802,49 +802,49 @@ static int DrawStats(intf_thread_t *intf)
/* Input */
if
(
sys
->
color
)
color_set
(
C_CATEGORY
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
[Incoming]"
));
MainBoxWrite
(
sys
,
l
++
,
_
(
"
+-
[Incoming]"
));
if
(
sys
->
color
)
color_set
(
C_DEFAULT
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
input bytes read : %8.0f KiB"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
input bytes read : %8.0f KiB"
),
(
float
)(
p_stats
->
i_read_bytes
)
/
1024
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
input bitrate : %6.0f kb/s"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
input bitrate : %6.0f kb/s"
),
p_stats
->
f_input_bitrate
*
8000
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
demux bytes read : %8.0f KiB"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
demux bytes read : %8.0f KiB"
),
(
float
)(
p_stats
->
i_demux_read_bytes
)
/
1024
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
demux bitrate : %6.0f kb/s"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
demux bitrate : %6.0f kb/s"
),
p_stats
->
f_demux_bitrate
*
8000
);
/* Video */
if
(
i_video
)
{
if
(
sys
->
color
)
color_set
(
C_CATEGORY
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
[Video Decoding]"
));
MainBoxWrite
(
sys
,
l
++
,
_
(
"
+-
[Video Decoding]"
));
if
(
sys
->
color
)
color_set
(
C_DEFAULT
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
video decoded : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| video decoded : %5"
PRIi
64
),
p_stats
->
i_decoded_video
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
frames displayed : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| frames displayed : %5"
PRIi
64
),
p_stats
->
i_displayed_pictures
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
frames lost : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| frames lost : %5"
PRIi
64
),
p_stats
->
i_lost_pictures
);
}
/* Audio*/
if
(
i_audio
)
{
if
(
sys
->
color
)
color_set
(
C_CATEGORY
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
[Audio Decoding]"
));
MainBoxWrite
(
sys
,
l
++
,
_
(
"
+-
[Audio Decoding]"
));
if
(
sys
->
color
)
color_set
(
C_DEFAULT
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
audio decoded : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| audio decoded : %5"
PRIi
64
),
p_stats
->
i_decoded_audio
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
buffers played : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| buffers played : %5"
PRIi
64
),
p_stats
->
i_played_abuffers
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
buffers lost : %"
PRId
64
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| buffers lost : %5"
PRIi
64
),
p_stats
->
i_lost_abuffers
);
}
/* Sout */
if
(
sys
->
color
)
color_set
(
C_CATEGORY
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
[Streaming]"
));
MainBoxWrite
(
sys
,
l
++
,
_
(
"
+-
[Streaming]"
));
if
(
sys
->
color
)
color_set
(
C_DEFAULT
,
NULL
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
packets sent : %5i"
),
p_stats
->
i_sent_packets
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
bytes sent : %8.0f KiB"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
| packets sent : %5"
PRIi64
),
p_stats
->
i_sent_packets
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
bytes sent : %8.0f KiB"
),
(
float
)(
p_stats
->
i_sent_bytes
)
/
1025
);
MainBoxWrite
(
sys
,
l
++
,
_
(
"
sending bitrate : %6.0f kb/s"
),
MainBoxWrite
(
sys
,
l
++
,
_
(
"
|
sending bitrate : %6.0f kb/s"
),
p_stats
->
f_send_bitrate
*
8000
);
if
(
sys
->
color
)
color_set
(
C_DEFAULT
,
NULL
);
...
...
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