From 93104142f4717a2d34d6a0cd6e5301c84fb04b6c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 21 Aug 2016 12:27:48 +0200 Subject: player: log if video is considered an image It's a heristic that can fail, so better log it. --- player/video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index fb8cf9cbc0..5e0266b8d0 100644 --- a/player/video.c +++ b/player/video.c @@ -1359,6 +1359,7 @@ void write_video(struct MPContext *mpctx) if (mpctx->num_past_frames == 1 && mpctx->past_frames[0].pts == 0 && !mpctx->ao_chain) { + MP_VERBOSE(mpctx, "assuming this is an image\n"); mpctx->time_frame += opts->image_display_duration; } else { mpctx->time_frame = 0; -- cgit v1.2.3