mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
opusenc: use debug level for debug info, not error
https://bugzilla.gnome.org/show_bug.cgi?id=660999
This commit is contained in:
parent
10a1f8395f
commit
ca14e2e061
1 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ gst_opus_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
gst_caps_unref (otherpadcaps);
|
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);
|
enc->n_channels, enc->sample_rate, enc->frame_size);
|
||||||
switch (enc->frame_size) {
|
switch (enc->frame_size) {
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -296,7 +296,7 @@ gst_opus_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
GST_ERROR ("frame_samples %d", enc->frame_samples);
|
GST_DEBUG_OBJECT (pad, "frame_samples %d", enc->frame_samples);
|
||||||
|
|
||||||
gst_opus_enc_setup (enc);
|
gst_opus_enc_setup (enc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue