From 74ae74db0c7c21535664d881007aa238bb8c8408 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Apr 2015 23:19:19 +0200 Subject: video: cleanup some old log messages These are basically MPlayer leftovers, and barely useful due to being redundant with other messages. The FPS message is used somewhere else. --- player/video.c | 2 ++ video/decode/dec_video.c | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/player/video.c b/player/video.c index 978790b31c..eb8967ce89 100644 --- a/player/video.c +++ b/player/video.c @@ -296,6 +296,8 @@ int reinit_video_chain(struct MPContext *mpctx) d_video->fps = sh->video->fps; d_video->vo = mpctx->video_out; + MP_VERBOSE(d_video, "Container reported FPS: %f\n", sh->video->fps); + if (opts->force_fps) { d_video->fps = opts->force_fps; MP_INFO(mpctx, "FPS forced to %5.3f.\n", d_video->fps); diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index 1011124d40..0c733b0aa6 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -385,11 +385,6 @@ int video_reconfig_filters(struct dec_video *d_video, struct mp_image_params p = *params; struct sh_video *sh = d_video->header->video; - MP_VERBOSE(d_video, "VIDEO: %dx%d %5.3f fps\n", p.w, p.h, sh->fps); - - MP_VERBOSE(d_video, "VDec: vo config request - %d x %d (%s)\n", - p.w, p.h, vo_format_name(p.imgfmt)); - float decoder_aspect = p.d_w / (float)p.d_h; if (d_video->initial_decoder_aspect == 0) d_video->initial_decoder_aspect = decoder_aspect; @@ -412,10 +407,6 @@ int video_reconfig_filters(struct dec_video *d_video, // Detect colorspace from resolution. mp_image_params_guess_csp(&p); - // Time to config libvo! - MP_VERBOSE(d_video, "VO Config (%dx%d->%dx%d,0x%X)\n", - p.w, p.h, p.d_w, p.d_h, p.imgfmt); - if (vf_reconfig(d_video->vfilter, params, &p) < 0) { MP_FATAL(d_video, "Cannot initialize video filters.\n"); return -1; -- cgit v1.2.3