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
4970e57f
Commit
4970e57f
authored
Sep 23, 2006
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small corrections for stats.
parent
ea9654b7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
417 additions
and
300 deletions
+417
-300
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/components/infopanels.cpp
+9
-10
modules/gui/qt4/dialogs/streaminfo.cpp
modules/gui/qt4/dialogs/streaminfo.cpp
+1
-1
modules/gui/qt4/ui/input_stats.ui
modules/gui/qt4/ui/input_stats.ui
+407
-289
No files found.
modules/gui/qt4/components/infopanels.cpp
View file @
4970e57f
...
...
@@ -51,12 +51,12 @@ void InputStatsPanel::update( input_item_t *p_item )
#define UPDATE( widget,format, calc... ) \
{ QString str; ui.widget->setText( str.sprintf( format, ## calc ) ); }
UPDATE
(
read_text
,
"%8.0f
kB
"
,
(
float
)(
p_item
->
p_stats
->
i_read_bytes
)
/
1000
);
UPDATE
(
input_bitrate_text
,
"%6.0f
kb/s
"
,
UPDATE
(
read_text
,
"%8.0f"
,
(
float
)(
p_item
->
p_stats
->
i_read_bytes
)
/
1000
);
UPDATE
(
input_bitrate_text
,
"%6.0f"
,
(
float
)(
p_item
->
p_stats
->
f_input_bitrate
*
8000
));
UPDATE
(
demuxed_text
,
"%8.0f
kB
"
,
UPDATE
(
demuxed_text
,
"%8.0f"
,
(
float
)(
p_item
->
p_stats
->
i_demux_read_bytes
)
/
1000
);
UPDATE
(
stream_bitrate_text
,
"%6.0f
kb/s
"
,
UPDATE
(
stream_bitrate_text
,
"%6.0f"
,
(
float
)(
p_item
->
p_stats
->
f_demux_bitrate
*
8000
));
/* Video */
...
...
@@ -66,9 +66,9 @@ void InputStatsPanel::update( input_item_t *p_item )
/* Sout */
UPDATE
(
sent_text
,
"%5i"
,
p_item
->
p_stats
->
i_sent_packets
);
UPDATE
(
sent_bytes_text
,
"%8.0f
kB
"
,
UPDATE
(
sent_bytes_text
,
"%8.0f"
,
(
float
)(
p_item
->
p_stats
->
i_sent_bytes
)
/
1000
);
UPDATE
(
send_bitrate_text
,
"%6.0f
kb/s
"
,
UPDATE
(
send_bitrate_text
,
"%6.0f"
,
(
float
)(
p_item
->
p_stats
->
f_send_bitrate
*
8
)
*
1000
);
/* Audio*/
...
...
@@ -170,15 +170,14 @@ InfoTab::InfoTab( QWidget *parent, intf_thread_t *_p_intf, bool _stats ) :
// setGeometry(0, 0, 400, 500);
MP
=
new
MetaPanel
(
NULL
,
p_intf
);
addTab
(
MP
,
qtr
(
"&Meta"
));
addTab
(
MP
,
qtr
(
"&General"
));
IP
=
new
InfoPanel
(
NULL
,
p_intf
);
addTab
(
IP
,
qtr
(
"&Details"
));
if
(
stats
)
{
ISP
=
new
InputStatsPanel
(
NULL
,
p_intf
);
addTab
(
ISP
,
qtr
(
"&Stats"
));
}
IP
=
new
InfoPanel
(
NULL
,
p_intf
);
addTab
(
IP
,
qtr
(
"&Info"
));
}
InfoTab
::~
InfoTab
()
...
...
modules/gui/qt4/dialogs/streaminfo.cpp
View file @
4970e57f
...
...
@@ -51,7 +51,7 @@ StreamInfoDialog::StreamInfoDialog( intf_thread_t *_p_intf ) :QVLCFrame( _p_intf
var_AddCallback
(
THEPL
,
"item-change"
,
ItemChanged
,
this
);
readSettings
(
"StreamInfo"
,
QSize
(
47
0
,
450
)
);
readSettings
(
"StreamInfo"
,
QSize
(
50
0
,
450
)
);
}
StreamInfoDialog
::~
StreamInfoDialog
()
...
...
modules/gui/qt4/ui/input_stats.ui
View file @
4970e57f
This diff is collapsed.
Click to expand it.
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