[vlc-devel] [PATCH 2/2] stream_out: stats: display pts/dts values too
Alexandre Janniaux
ajanni at videolabs.io
Thu Jan 21 14:12:18 UTC 2021
---
modules/stream_out/stats.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/stats.c b/modules/stream_out/stats.c
index 4a1f24e860..1cb38b061a 100644
--- a/modules/stream_out/stats.c
+++ b/modules/stream_out/stats.c
@@ -143,9 +143,9 @@ static int Send( sout_stream_t *p_stream, void *_id, block_t *p_buffer )
p_block->i_length, outputhash );
} else {
- msg_Dbg( p_stream, "%s: track:%d type:%s segment_number:%"PRIu64" dts_difference:%"PRId64" length:%"PRId64" current_duration:%"PRId64" md5:%16s",
+ msg_Dbg( p_stream, "%s: track:%d type:%s segment_number:%"PRIu64" dts_difference:%"PRId64" length:%"PRId64" dts:%"PRId64" pts:%"PRId64" current_duration:%"PRId64" md5:%16s",
p_sys->prefix, id->id, id->type, ++id->segment_number, dts_difference,
- p_block->i_length, id->track_duration, outputhash );
+ p_block->i_length, p_block->i_dts, p_block->i_pts, id->track_duration, outputhash );
}
p_block = p_block->p_next;
}
--
2.30.0
More information about the vlc-devel
mailing list