diff options
author | wm4 <wm4@nowhere> | 2016-08-21 12:27:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-21 12:27:48 +0200 |
commit | 93104142f4717a2d34d6a0cd6e5301c84fb04b6c (patch) | |
tree | 5abb37a24727f7cb6c5f53d1e8c34da14e763ead /player/video.c | |
parent | 9a5e062a04d24547f09de7620dbdadf1d73dd4cc (diff) | |
download | mpv-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/video.c')
-rw-r--r-- | player/video.c | 1 |
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; |