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
d7a496b7
Commit
d7a496b7
authored
Oct 15, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Prepare for get FPS.
parent
44521604
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/components/infopanels.cpp
+3
-0
modules/gui/qt4/components/infopanels.hpp
modules/gui/qt4/components/infopanels.hpp
+1
-0
No files found.
modules/gui/qt4/components/infopanels.cpp
View file @
d7a496b7
...
...
@@ -515,6 +515,7 @@ InputStatsPanel::InputStatsPanel( QWidget *parent,
"0"
,
video
,
""
);
CREATE_AND_ADD_TO_CAT
(
vlost_frames_stat
,
qtr
(
"Lost frames"
),
"0"
,
video
,
""
);
CREATE_AND_ADD_TO_CAT
(
vfps_stat
,
qtr
(
"FPS"
),
"0"
,
video
,
""
);
CREATE_AND_ADD_TO_CAT
(
send_stat
,
qtr
(
"Sent packets"
),
"0"
,
streaming
,
""
);
CREATE_AND_ADD_TO_CAT
(
send_bytes_stat
,
qtr
(
"Sent bytes"
),
...
...
@@ -566,6 +567,8 @@ void InputStatsPanel::update( input_item_t *p_item )
UPDATE
(
vdecoded_stat
,
"%5i"
,
p_item
->
p_stats
->
i_decoded_video
);
UPDATE
(
vdisplayed_stat
,
"%5i"
,
p_item
->
p_stats
->
i_displayed_pictures
);
UPDATE
(
vlost_frames_stat
,
"%5i"
,
p_item
->
p_stats
->
i_lost_pictures
);
/* UPDATE( vfps_stat, "%5f", p_item->p_stats->i_lost_pictures );
input_Control( p_input_thread, INPUT_GET_VIDEO_FPS, &f_fps */
/* Sout */
UPDATE
(
send_stat
,
"%5i"
,
p_item
->
p_stats
->
i_sent_packets
);
...
...
modules/gui/qt4/components/infopanels.hpp
View file @
d7a496b7
...
...
@@ -128,6 +128,7 @@ private:
QTreeWidgetItem
*
vdecoded_stat
;
QTreeWidgetItem
*
vdisplayed_stat
;
QTreeWidgetItem
*
vlost_frames_stat
;
QTreeWidgetItem
*
vfps_stat
;
QTreeWidgetItem
*
streaming
;
QTreeWidgetItem
*
send_stat
;
...
...
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