lame: fix format string in debug statement

This commit is contained in:
Alessandro Decina 2009-05-06 21:47:17 +02:00
parent b18371c1ca
commit bfbddbed8b

View file

@ -799,7 +799,7 @@ 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 (%d Hz, %d channels)", GST_INFO ("lame encoder setup (bitrate %d, %d Hz, %d channels)",
lame->bitrate, lame->samplerate, lame->num_channels); 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);