Commit f0534b7a authored by Marvin Scholz's avatar Marvin Scholz

macosx: Do not show nonexistent sout stats

parent 0a74b077
This diff is collapsed.
......@@ -83,13 +83,6 @@
@property (readwrite, weak) IBOutlet NSTextField *playedAudioBuffersTextField;
@property (readwrite, weak) IBOutlet NSTextField *readBytesLabel;
@property (readwrite, weak) IBOutlet NSTextField *readBytesTextField;
@property (readwrite, weak) IBOutlet NSTextField *sentBitrateLabel;
@property (readwrite, weak) IBOutlet NSTextField *sentBitrateTextField;
@property (readwrite, weak) IBOutlet NSTextField *sentBytesLabel;
@property (readwrite, weak) IBOutlet NSTextField *sentBytesTextField;
@property (readwrite, weak) IBOutlet NSTextField *sentPacketsLabel;
@property (readwrite, weak) IBOutlet NSTextField *sentPacketsTextField;
@property (readwrite, weak) IBOutlet NSTextField *soutLabel;
@property (readwrite, weak) IBOutlet NSTextField *videoLabel;
@property (readwrite, weak) IBOutlet NSTextField *videoDecodedLabel;
@property (readwrite, weak) IBOutlet NSTextField *videoDecodedTextField;
......
......@@ -93,11 +93,6 @@
[_displayedLabel setStringValue: _NS("Displayed frames")];
[_lostFramesLabel setStringValue: _NS("Lost frames")];
[_soutLabel setStringValue: _NS("Streaming")];
[_sentPacketsLabel setStringValue: _NS("Sent packets")];
[_sentBytesLabel setStringValue: _NS("Sent bytes")];
[_sentBitrateLabel setStringValue: _NS("Send rate")];
[_audioLabel setStringValue: _NS("Audio")];
[_audioDecodedLabel setStringValue: _NS("Decoded blocks")];
[_playedAudioBuffersLabel setStringValue: _NS("Played buffers")];
......@@ -155,11 +150,6 @@
[_displayedTextField setIntValue:0];
[_lostFramesTextField setIntValue:0];
//Initializing Output Variables
[_sentPacketsTextField setIntValue: 0];
[_sentBytesTextField setStringValue: [NSString stringWithFormat:_NS("%.1f KiB"), (float)0]];
[_sentBitrateTextField setStringValue: [NSString stringWithFormat:@"%6.0f kb/s", (float)0]];
//Initializing Audio Variables
[_audioDecodedTextField setIntValue:0];
[_playedAudioBuffersTextField setIntValue: 0];
......@@ -291,13 +281,6 @@ FREENULL( psz_##foo );
[_displayedTextField setIntValue: p_item->p_stats->i_displayed_pictures];
[_lostFramesTextField setIntValue: p_item->p_stats->i_lost_pictures];
/* Sout */
[_sentPacketsTextField setIntValue: p_item->p_stats->i_sent_packets];
[_sentBytesTextField setStringValue: [NSString stringWithFormat: @"%8.0f KiB",
0.f]];
[_sentBitrateTextField setStringValue: [NSString stringWithFormat:
@"%6.0f kb/s", 0.f]];
/* Audio */
[_audioDecodedTextField setIntValue: p_item->p_stats->i_decoded_audio];
[_playedAudioBuffersTextField setIntValue: p_item->p_stats->i_played_abuffers];
......
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