ducatividenc: log how many bytes the encoded data is
[glsdk/gst-plugin-ducati.git] / src / gstducatividenc.c
index 71950315d832a2cc7c73c31bd2d5c785d867ebdf..426e2be05a1f5aeb041ab09549a2c8280a81b071 100644 (file)
@@ -653,6 +653,8 @@ have_inbuf:
   frame->src_buffer = gst_buffer_new_and_alloc (self->outArgs->bytesGenerated);
   memcpy (GST_BUFFER_DATA (frame->src_buffer),
       GST_BUFFER_DATA (outbuf), self->outArgs->bytesGenerated);
+  GST_DEBUG_OBJECT (self, "Encoded frame in %u bytes",
+      self->outArgs->bytesGenerated);
 
   gst_buffer_unref (outbuf);