gst-plugins-bad: vp8enc: trace outgoing timestamps

Tim Müller tpm at kemper.freedesktop.org
Tue Jan 24 03:31:12 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: 44862ac067d03771fcbcb66594c7c38b4334f1f4
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=44862ac067d03771fcbcb66594c7c38b4334f1f4

Author: Oleksij Rempel (Alexey Fisher) <bug-track at fisher-privat.net>
Date:   Tue Jan 24 11:22:46 2012 +0100

vp8enc: trace outgoing timestamps

add info level prints for outgoing timestamps.

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track at fisher-privat.net>

---

 ext/vp8/gstvp8enc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c
index 5ed11e3..b1f06e0 100644
--- a/ext/vp8/gstvp8enc.c
+++ b/ext/vp8/gstvp8enc.c
@@ -1192,6 +1192,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);



More information about the gstreamer-commits mailing list