mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 17:42:17 +00:00
debug output: reduce verbosity of some frequent messages
Drop from frequent (per-frame) messages from DBG2 to DBG3. Drop VDPAU clock adjustment messages from V to DBG2.
This commit is contained in:
parent
c8e78a0383
commit
befed529bc
@ -758,7 +758,7 @@ static struct mp_image *decode(struct sh_video *sh, void *data, int len,
|
||||
else
|
||||
avctx->skip_frame = 0;
|
||||
|
||||
mp_msg(MSGT_DECVIDEO, MSGL_DBG2, "vd_ffmpeg data: %04x, %04x, %04x, %04x\n",
|
||||
mp_msg(MSGT_DECVIDEO, MSGL_DBG3, "vd_ffmpeg data: %04x, %04x, %04x, %04x\n",
|
||||
((int *)data)[0], ((int *)data)[1], ((int *)data)[2], ((int *)data)[3]);
|
||||
av_init_packet(&pkt);
|
||||
pkt.data = data;
|
||||
|
@ -214,7 +214,7 @@ static int change_vdptime_sync(struct vdpctx *vc, unsigned int *t)
|
||||
vdp_time -= (t2 - t1) * 1000ULL;
|
||||
else
|
||||
vdp_time = old;
|
||||
mp_msg(MSGT_VO, MSGL_V, "[vdpau] adjusting VdpTime offset by %f µs\n",
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "[vdpau] adjusting VdpTime offset by %f µs\n",
|
||||
(int64_t)(vdp_time - old) / 1000.);
|
||||
vc->last_vdp_time = vdp_time;
|
||||
vc->last_sync_update = t1;
|
||||
@ -420,7 +420,7 @@ static void resize(struct vo *vo)
|
||||
vc->output_surface_height,
|
||||
&vc->output_surfaces[i]);
|
||||
CHECK_ST_WARNING("Error when calling vdp_output_surface_create");
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "OUT CREATE: %u\n",
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "vdpau out create: %u\n",
|
||||
vc->output_surfaces[i]);
|
||||
}
|
||||
vc->num_shown_frames = 0;
|
||||
@ -1262,7 +1262,6 @@ eosd_skip_upload:
|
||||
static void draw_osd(struct vo *vo, struct osd_state *osd)
|
||||
{
|
||||
struct vdpctx *vc = vo->priv;
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "DRAW_OSD\n");
|
||||
|
||||
if (handle_preemption(vo) < 0)
|
||||
return;
|
||||
@ -1302,7 +1301,7 @@ static int update_presentation_queue_status(struct vo *vo)
|
||||
}
|
||||
int num_queued = WRAP_ADD(vc->surface_num, -vc->query_surface_num,
|
||||
vc->num_output_surfaces);
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "[vdpau] Queued surface count (before add): "
|
||||
mp_msg(MSGT_VO, MSGL_DBG3, "[vdpau] Queued surface count (before add): "
|
||||
"%d\n", num_queued);
|
||||
return num_queued;
|
||||
}
|
||||
@ -1449,7 +1448,7 @@ static struct vdpau_render_state *get_surface(struct vo *vo, int number)
|
||||
&vc->surface_render[number].surface);
|
||||
CHECK_ST_WARNING("Error when calling vdp_video_surface_create");
|
||||
}
|
||||
mp_msg(MSGT_VO, MSGL_DBG2, "VID CREATE: %u\n",
|
||||
mp_msg(MSGT_VO, MSGL_DBG3, "vdpau vid create: %u\n",
|
||||
vc->surface_render[number].surface);
|
||||
return &vc->surface_render[number];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user