From ec7f8034af02a649f9aa8827445cb56650b28037 Mon Sep 17 00:00:00 2001 From: "Oleksij Rempel (Alexey Fisher)" Date: Tue, 24 Jan 2012 11:22:46 +0100 Subject: [PATCH] [MOVED FROM BAD 100/134] vp8enc: trace outgoing timestamps add info level prints for outgoing timestamps. Signed-off-by: Oleksij Rempel (Alexey Fisher) --- ext/vp8/gstvp8enc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index eb6d61b..b4f1f66 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -1174,6 +1174,9 @@ gst_vp8_enc_shape_output (GstBaseVideoEncoder * base_video_encoder, gst_util_uint64_scale (frame->presentation_frame_number + 1, GST_SECOND * state->fps_d, state->fps_n); + GST_LOG_OBJECT (base_video_encoder, "src ts: %" GST_TIME_FORMAT, + GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf))); + ret = gst_pad_push (GST_BASE_VIDEO_CODEC_SRC_PAD (base_video_encoder), buf); if (ret != GST_FLOW_OK) { GST_WARNING_OBJECT (encoder, "flow error %d", ret); -- 2.7.4