mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
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.
This commit is contained in:
parent
bbb0b69d73
commit
74ae74db0c
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user