mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
celt: Improve debugging
This commit is contained in:
parent
042419baa1
commit
3e4eacce3c
2 changed files with 1 additions and 2 deletions
|
@ -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) -
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue