Commit d7a496b7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Prepare for get FPS.

parent 44521604
......@@ -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 );
......
......@@ -128,6 +128,7 @@ private:
QTreeWidgetItem *vdecoded_stat;
QTreeWidgetItem *vdisplayed_stat;
QTreeWidgetItem *vlost_frames_stat;
QTreeWidgetItem *vfps_stat;
QTreeWidgetItem *streaming;
QTreeWidgetItem *send_stat;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment