[Spice-devel] [spice-gtk] gst: Fix typo in preprocessor symbol

Victor Toso lists at victortoso.com
Wed Dec 9 05:49:42 PST 2015


On Wed, Dec 09, 2015 at 12:21:30PM +0100, Christophe Fergeau wrote:
> When the GStreamer backend is used, HAVE_GSTAUDIO is defined, not
> HAVE_GST_AUDIO.

Acked-by: Victor Toso <victortoso at redhat.com>
Thanks!

> ---
>  src/spice-audio.c | 4 ++--
>  1 file 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
> -- 
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list