celt: Improve debugging

This commit is contained in:
Sebastian Dröge 2010-07-05 10:09:36 +02:00
parent 042419baa1
commit 3e4eacce3c
2 changed files with 1 additions and 2 deletions

View file

@ -687,7 +687,7 @@ celt_dec_chain_parse_data (GstCeltDec * dec, GstBuffer * buf,
}
if (skip > 0) {
GST_ERROR ("skipping %d samples", skip);
GST_ERROR_OBJECT (dec, "skipping %d samples", skip);
GST_BUFFER_DATA (outbuf) = GST_BUFFER_DATA (outbuf) +
skip * dec->header.nb_channels * 2;
GST_BUFFER_SIZE (outbuf) = GST_BUFFER_SIZE (outbuf) -

View file

@ -655,7 +655,6 @@ gst_celt_enc_setup (GstCeltEnc * enc)
#ifdef CELT_SET_VBR_RATE
if (!enc->cbr) {
GST_ERROR ("setting vbr");
celt_encoder_ctl (enc->state, CELT_SET_VBR_RATE (enc->bitrate), 0);
}
#endif