diff options
author | wm4 <wm4@nowhere> | 2014-08-22 16:21:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-22 16:21:58 +0200 |
commit | d5fa5a96a864b0acf3ee5e004780aeb1b83cf3b2 (patch) | |
tree | 5b4f6cb48750b97c617cc4d5c700c50d8b08bd6f /video/out/vo.c | |
parent | d0b64a6fc4fcccbd5504f6b013c3fc39ad7576db (diff) | |
download | mpv-d5fa5a96a864b0acf3ee5e004780aeb1b83cf3b2.tar.bz2 mpv-d5fa5a96a864b0acf3ee5e004780aeb1b83cf3b2.tar.xz |
video: some debugging output
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |