Browse Source

tracer: trace render_pts

Mostly convenient for the audio output since the render date are in the
fure (the aout delay).
pull/136/head
Thomas Guillem 4 years ago
committed by Felix Paul Kühne
parent
commit
e6cfc52cd4
  1. 12
      include/vlc_tracer.h

12
include/vlc_tracer.h

@ -174,9 +174,15 @@ static inline void vlc_tracer_TraceRender(struct vlc_tracer *tracer, const char
const char *id, vlc_tick_t now, vlc_tick_t pts)
{
if (now != VLC_TICK_MAX && now != VLC_TICK_INVALID)
vlc_tracer_Trace(tracer, VLC_TRACE("type", type), VLC_TRACE("id", id),
VLC_TRACE("pts", pts),
VLC_TRACE("render_ts", now), VLC_TRACE_END);
{
vlc_tracer_TraceWithTs(tracer, vlc_tick_now(), VLC_TRACE("type", type),
VLC_TRACE("id", id), VLC_TRACE("pts", pts),
VLC_TRACE("render_ts", now), VLC_TRACE_END);
vlc_tracer_TraceWithTs(tracer, now, VLC_TRACE("type", type),
VLC_TRACE("id", id), VLC_TRACE("render_pts", pts),
VLC_TRACE_END);
}
else
vlc_tracer_Trace(tracer, VLC_TRACE("type", type), VLC_TRACE("id", id),
VLC_TRACE("pts", pts), VLC_TRACE_END);

Loading…
Cancel
Save