diff options
Diffstat (limited to 'video/decode/vd.c')
-rw-r--r-- | video/decode/vd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/vd.c b/video/decode/vd.c index fad9adbdf7..42244de209 100644 --- a/video/decode/vd.c +++ b/video/decode/vd.c @@ -56,6 +56,8 @@ int mpcodecs_reconfig_vo(sh_video_t *sh, const struct mp_image_params *params) int vocfg_flags = 0; struct mp_image_params p = *params; + sh->vf_reconfig_count++; + if (!p.w || !p.h) { // ideally, this should be dead code mp_msg(MSGT_DECVIDEO, MSGL_WARN, "Unknown size, using container size.\n"); |