opusenc: use debug level for debug info, not error
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 5 Oct 2011 14:47:06 +0000 (15:47 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Nov 2011 11:21:27 +0000 (11:21 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=660999

ext/opus/gstopusenc.c

index 9fc3075..f25cbca 100644 (file)
@@ -270,7 +270,7 @@ gst_opus_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
     gst_caps_unref (otherpadcaps);
   }
 
-  GST_ERROR_OBJECT (pad, "channels=%d rate=%d frame-size=%d",
+  GST_DEBUG_OBJECT (pad, "channels=%d rate=%d frame-size=%d",
       enc->n_channels, enc->sample_rate, enc->frame_size);
   switch (enc->frame_size) {
     case 2:
@@ -296,7 +296,7 @@ gst_opus_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
       return FALSE;
       break;
   }
-  GST_ERROR ("frame_samples %d", enc->frame_samples);
+  GST_DEBUG_OBJECT (pad, "frame_samples %d", enc->frame_samples);
 
   gst_opus_enc_setup (enc);