mimic: Use log loglevel for messages that are shown on every frame

This commit is contained in:
Olivier Crête 2009-10-12 20:19:38 -04:00
parent 791710a92f
commit 4ffede5d87
2 changed files with 2 additions and 2 deletions

View file

@ -205,7 +205,7 @@ gst_mim_dec_chain (GstPad * pad, GstBuffer * buf)
current_ts = GUINT32_FROM_LE (*((guint32 *) (header + 20))); current_ts = GUINT32_FROM_LE (*((guint32 *) (header + 20)));
GST_DEBUG ("Got packet, payload size %d", payload_size); GST_LOG_OBJECT (mimdec, "Got packet, payload size %d", payload_size);
if (gst_adapter_available (mimdec->adapter) < payload_size + 24) if (gst_adapter_available (mimdec->adapter) < payload_size + 24)
goto out; goto out;

View file

@ -320,7 +320,7 @@ gst_mim_enc_chain (GstPad * pad, GstBuffer * in)
GST_BUFFER_SIZE (out_buf) = buffer_size + TCP_HEADER_SIZE; GST_BUFFER_SIZE (out_buf) = buffer_size + TCP_HEADER_SIZE;
GST_DEBUG_OBJECT (mimenc, "incoming buf size %d, encoded size %d", GST_LOG_OBJECT (mimenc, "incoming buf size %d, encoded size %d",
GST_BUFFER_SIZE (buf), GST_BUFFER_SIZE (out_buf)); GST_BUFFER_SIZE (buf), GST_BUFFER_SIZE (out_buf));
++mimenc->frames; ++mimenc->frames;