mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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) {
|
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) +
|
GST_BUFFER_DATA (outbuf) = GST_BUFFER_DATA (outbuf) +
|
||||||
skip * dec->header.nb_channels * 2;
|
skip * dec->header.nb_channels * 2;
|
||||||
GST_BUFFER_SIZE (outbuf) = GST_BUFFER_SIZE (outbuf) -
|
GST_BUFFER_SIZE (outbuf) = GST_BUFFER_SIZE (outbuf) -
|
||||||
|
|
|
@ -655,7 +655,6 @@ gst_celt_enc_setup (GstCeltEnc * enc)
|
||||||
|
|
||||||
#ifdef CELT_SET_VBR_RATE
|
#ifdef CELT_SET_VBR_RATE
|
||||||
if (!enc->cbr) {
|
if (!enc->cbr) {
|
||||||
GST_ERROR ("setting vbr");
|
|
||||||
celt_encoder_ctl (enc->state, CELT_SET_VBR_RATE (enc->bitrate), 0);
|
celt_encoder_ctl (enc->state, CELT_SET_VBR_RATE (enc->bitrate), 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue