summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-12-09 12:11:41 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-09 12:11:41 +0100
commit34c839bf0376aa76627f4ca8d3d836a5e60fe451 (patch)
tree21725028c05f74e39621fd46269b64a7dd387a39
parentafe52e263c1241c38815618a2aabd008a5ecbfad (diff)
downloadspice-gtk-34c839bf0376aa76627f4ca8d3d836a5e60fe451.tar.gz
spice-gtk-34c839bf0376aa76627f4ca8d3d836a5e60fe451.tar.xz
spice-gtk-34c839bf0376aa76627f4ca8d3d836a5e60fe451.zip
gst: Fix typo in preprocessor symbol
When the GStreamer backend is used, HAVE_GSTAUDIO is defined, not HAVE_GST_AUDIO.
-rw-r--r--src/spice-audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spice-audio.c b/src/spice-audio.c
index 550d02a..64d9bca 100644
--- a/src/spice-audio.c
+++ b/src/spice-audio.c
@@ -45,7 +45,7 @@
#ifdef HAVE_PULSE
#include "spice-pulse.h"
#endif
-#ifdef HAVE_GST_AUDIO
+#ifdef HAVE_GSTAUDIO
#include "spice-gstaudio.h"
#endif
@@ -264,7 +264,7 @@ SpiceAudio *spice_audio_new(SpiceSession *session, GMainContext *context,
#ifdef HAVE_PULSE
self = SPICE_AUDIO(spice_pulse_new(session, context, name));
#endif
-#ifdef HAVE_GST_AUDIO
+#ifdef HAVE_GSTAUDIO
if (!self)
self = SPICE_AUDIO(spice_gstaudio_new(session, context, name));
#endif