summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-21 12:27:48 +0200
committerwm4 <wm4@nowhere>2016-08-21 12:27:48 +0200
commit93104142f4717a2d34d6a0cd6e5301c84fb04b6c (patch)
tree5abb37a24727f7cb6c5f53d1e8c34da14e763ead /player
parent9a5e062a04d24547f09de7620dbdadf1d73dd4cc (diff)
downloadmpv-93104142f4717a2d34d6a0cd6e5301c84fb04b6c.tar.bz2
mpv-93104142f4717a2d34d6a0cd6e5301c84fb04b6c.tar.xz
player: log if video is considered an image
It's a heristic that can fail, so better log it.
Diffstat (limited to 'player')
-rw-r--r--player/video.c1
1 files changed, 1 insertions, 0 deletions
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;