From d5fa5a96a864b0acf3ee5e004780aeb1b83cf3b2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 22 Aug 2014 16:21:58 +0200 Subject: video: some debugging output --- video/out/vo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video') diff --git a/video/out/vo.c b/video/out/vo.c index c348a37f24..3248023cd5 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -574,6 +574,8 @@ static bool render_frame(struct vo *vo) } else { pthread_mutex_unlock(&in->lock); + MP_STATS(vo, "start video"); + vo->driver->draw_image(vo, img); int64_t target = pts - in->flip_queue_offset; @@ -600,6 +602,8 @@ static bool render_frame(struct vo *vo) MP_DBG(vo, "phase: %ld\n", phase); MP_STATS(vo, "value %ld phase", phase); + MP_STATS(vo, "end video"); + pthread_mutex_lock(&in->lock); } -- cgit v1.2.3