summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-05 00:48:41 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-05 00:50:41 +0300
commitbefed529bcf6628e3032e7d393e211b08450de6e (patch)
tree87b5f3a008cd572100ed6ec4d2df432d738715a1 /libvo
parentc8e78a0383164df0882df8734284ed4363b6891a (diff)
downloadmpv-befed529bcf6628e3032e7d393e211b08450de6e.tar.bz2
mpv-befed529bcf6628e3032e7d393e211b08450de6e.tar.xz
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.
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vdpau.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index 210fe797dc..f9710b7a1e 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -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];
}