From: <tp...@ke...> - 2010-03-22 12:39:20
|
Module: gst-plugins-bad Branch: master Commit: 203b284bab7cabd5cf571c8db95dec32236b8b06 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=203b284bab7cabd5cf571c8db95dec32236b8b06 Author: Tim-Philipp Müller <tim...@co...> Date: Mon Mar 22 12:38:02 2010 +0000 soundtouch: build fixes: #if -> #ifdef --- ext/soundtouch/gstbpmdetect.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc index 710ba86..9908dca 100644 --- a/ext/soundtouch/gstbpmdetect.cc +++ b/ext/soundtouch/gstbpmdetect.cc @@ -48,7 +48,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_bpm_detect_debug); struct _GstBPMDetectPrivate { gfloat bpm; -#if HAVE_SOUNDTOUCH_1_4 +#ifdef HAVE_SOUNDTOUCH_1_4 soundtouch::BPMDetect * detect; #else BPMDetect *detect; @@ -201,7 +201,7 @@ gst_bpm_detect_transform_ip (GstBaseTransform * trans, GstBuffer * in) GST_ERROR_OBJECT (bpm_detect, "No channels or rate set yet"); return GST_FLOW_ERROR; } -#if HAVE_SOUNDTOUCH_1_4 +#ifdef HAVE_SOUNDTOUCH_1_4 bpm_detect->priv->detect = new soundtouch::BPMDetect (filter->format.channels, filter->format.rate); |