diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo.c | 8 | ||||
-rw-r--r-- | video/out/vo.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 35c583b35f..81537e80d9 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -144,7 +144,7 @@ struct vo_internal { int64_t flip_queue_offset; // queue flip events at most this much in advance - int64_t missed_count; + int64_t delayed_count; int64_t drop_count; bool dropped_frame; // the previous frame was dropped @@ -423,7 +423,7 @@ static void forget_frames(struct vo *vo) in->hasframe = false; in->hasframe_rendered = false; in->drop_count = 0; - in->missed_count = 0; + in->delayed_count = 0; talloc_free(in->frame_queued); in->frame_queued = NULL; // don't unref current_frame; we always want to be able to redraw it @@ -1050,11 +1050,11 @@ int64_t vo_get_next_frame_start_time(struct vo *vo) return res; } -int64_t vo_get_missed_count(struct vo *vo) +int64_t vo_get_delayed_count(struct vo *vo) { struct vo_internal *in = vo->in; pthread_mutex_lock(&in->lock); - int64_t res = vo->in->missed_count; + int64_t res = vo->in->delayed_count; pthread_mutex_unlock(&in->lock); return res; } diff --git a/video/out/vo.h b/video/out/vo.h index 213b287ab2..c7bcccd778 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -332,7 +332,7 @@ void vo_destroy(struct vo *vo); void vo_set_paused(struct vo *vo, bool paused); int64_t vo_get_drop_count(struct vo *vo); void vo_increment_drop_count(struct vo *vo, int64_t n); -int64_t vo_get_missed_count(struct vo *vo); +int64_t vo_get_delayed_count(struct vo *vo); void vo_query_formats(struct vo *vo, uint8_t *list); void vo_event(struct vo *vo, int event); int vo_query_and_reset_events(struct vo *vo, int events); |