mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
lamemp3enc: Improve debugging a bit
This commit is contained in:
parent
f631890166
commit
98acc9703b
1 changed files with 4 additions and 2 deletions
|
@ -802,8 +802,10 @@ gst_lamemp3enc_setup (GstLameMP3Enc * lame)
|
||||||
if ((retval = lame_init_params (lame->lgf)) >= 0) {
|
if ((retval = lame_init_params (lame->lgf)) >= 0) {
|
||||||
lame->setup = TRUE;
|
lame->setup = TRUE;
|
||||||
/* FIXME: it would be nice to print out the mode here */
|
/* FIXME: it would be nice to print out the mode here */
|
||||||
GST_INFO ("lame encoder setup (bitrate %d, %d Hz, %d channels)",
|
GST_INFO
|
||||||
lame->bitrate, lame->samplerate, lame->num_channels);
|
("lame encoder setup (target %s, quality %f, bitrate %d, %d Hz, %d channels)",
|
||||||
|
(lame->target == LAMEMP3ENC_TARGET_QUALITY) ? "quality" : "bitrate",
|
||||||
|
lame->quality, lame->bitrate, lame->samplerate, lame->num_channels);
|
||||||
} else {
|
} else {
|
||||||
GST_ERROR_OBJECT (lame, "lame_init_params returned %d", retval);
|
GST_ERROR_OBJECT (lame, "lame_init_params returned %d", retval);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue