Commit 33226d20 authored by Steve Lhomme's avatar Steve Lhomme Committed by Felix Paul Kühne
Browse files

macosx/guid: display the number of late frames



Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <felix@feepk.net>
parent 1813caaf
...@@ -84,6 +84,8 @@ ...@@ -84,6 +84,8 @@
@property (readwrite, weak) IBOutlet NSTextField *videoDecodedTextField; @property (readwrite, weak) IBOutlet NSTextField *videoDecodedTextField;
@property (readwrite, weak) IBOutlet NSTextField *displayedLabel; @property (readwrite, weak) IBOutlet NSTextField *displayedLabel;
@property (readwrite, weak) IBOutlet NSTextField *displayedTextField; @property (readwrite, weak) IBOutlet NSTextField *displayedTextField;
@property (readwrite, weak) IBOutlet NSTextField *lateFramesLabel;
@property (readwrite, weak) IBOutlet NSTextField *lateFramesTextField;
@property (readwrite, weak) IBOutlet NSTextField *lostFramesLabel; @property (readwrite, weak) IBOutlet NSTextField *lostFramesLabel;
@property (readwrite, weak) IBOutlet NSTextField *lostFramesTextField; @property (readwrite, weak) IBOutlet NSTextField *lostFramesTextField;
@property (readwrite, weak) IBOutlet NSTextField *inputLabel; @property (readwrite, weak) IBOutlet NSTextField *inputLabel;
......
...@@ -167,6 +167,7 @@ ...@@ -167,6 +167,7 @@
[_videoDecodedLabel setStringValue: _NS("Decoded blocks")]; [_videoDecodedLabel setStringValue: _NS("Decoded blocks")];
[_displayedLabel setStringValue: _NS("Displayed frames")]; [_displayedLabel setStringValue: _NS("Displayed frames")];
[_lostFramesLabel setStringValue: _NS("Lost frames")]; [_lostFramesLabel setStringValue: _NS("Lost frames")];
[_lateFramesLabel setStringValue: _NS("Late frames")];
[_audioLabel setStringValue: _NS("Audio")]; [_audioLabel setStringValue: _NS("Audio")];
[_audioDecodedLabel setStringValue: _NS("Decoded blocks")]; [_audioDecodedLabel setStringValue: _NS("Decoded blocks")];
...@@ -206,6 +207,7 @@ ...@@ -206,6 +207,7 @@
//Initializing Video Variables //Initializing Video Variables
[_videoDecodedTextField setIntValue:0]; [_videoDecodedTextField setIntValue:0];
[_displayedTextField setIntValue:0]; [_displayedTextField setIntValue:0];
[_lateFramesTextField setIntValue:0];
[_lostFramesTextField setIntValue:0]; [_lostFramesTextField setIntValue:0];
//Initializing Audio Variables //Initializing Audio Variables
...@@ -264,6 +266,7 @@ ...@@ -264,6 +266,7 @@
/* Video */ /* Video */
[_videoDecodedTextField setIntegerValue: inputStats.decodedVideo]; [_videoDecodedTextField setIntegerValue: inputStats.decodedVideo];
[_displayedTextField setIntegerValue: inputStats.displayedPictures]; [_displayedTextField setIntegerValue: inputStats.displayedPictures];
[_lateFramesTextField setIntegerValue: inputStats.latePictures];
[_lostFramesTextField setIntegerValue: inputStats.lostPictures]; [_lostFramesTextField setIntegerValue: inputStats.lostPictures];
/* Audio */ /* Audio */
......
...@@ -893,6 +893,7 @@ extern const CGFloat VLCVolumeDefault; ...@@ -893,6 +893,7 @@ extern const CGFloat VLCVolumeDefault;
/* Vout */ /* Vout */
@property (readonly) int64_t displayedPictures; @property (readonly) int64_t displayedPictures;
@property (readonly) int64_t latePictures;
@property (readonly) int64_t lostPictures; @property (readonly) int64_t lostPictures;
/* Aout */ /* Aout */
......
...@@ -1744,6 +1744,7 @@ static int BossCallback(vlc_object_t *p_this, ...@@ -1744,6 +1744,7 @@ static int BossCallback(vlc_object_t *p_this,
_decodedVideo = p_stats->i_decoded_video; _decodedVideo = p_stats->i_decoded_video;
_displayedPictures = p_stats->i_displayed_pictures; _displayedPictures = p_stats->i_displayed_pictures;
_latePictures = p_stats->i_late_pictures;
_lostPictures = p_stats->i_lost_pictures; _lostPictures = p_stats->i_lost_pictures;
_playedAudioBuffers = p_stats->i_played_abuffers; _playedAudioBuffers = p_stats->i_played_abuffers;
......
Supports Markdown
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