mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
lame: fix compilation with LAME versions < 3.98
lame_set_VBR_quality(), which takes a floating point value for the quality, has been added only in v3.98. Use lame_set_VBR_q(), which takes quality as an integer, for older LAME versions. Fixes #581341.
This commit is contained in:
parent
d1845b62f0
commit
8da711f16c
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@
|
|||
#include "gstlamemp3enc.h"
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
/* lame < 3.98 */
|
||||
#ifndef HAVE_LAME_SET_VBR_QUALITY
|
||||
#define lame_set_VBR_quality(flags,q) lame_set_VBR_q((flags),(int)(q))
|
||||
#endif
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (debug);
|
||||
#define GST_CAT_DEFAULT debug
|
||||
|
||||
|
|
Loading…
Reference in a new issue