mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
pulsesink: fix compilation with pulseaudio 0.9
This commit is contained in:
parent
7e12b58e37
commit
3293b88ea1
1 changed files with 4 additions and 0 deletions
|
@ -2869,6 +2869,7 @@ gst_pulsesink_event (GstBaseSink * sink, GstEvent * event)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_pulsesink_query (GstBaseSink * sink, GstQuery * query)
|
gst_pulsesink_query (GstBaseSink * sink, GstQuery * query)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_PULSE_1_0
|
||||||
GstPulseSink *pulsesink = GST_PULSESINK_CAST (sink);
|
GstPulseSink *pulsesink = GST_PULSESINK_CAST (sink);
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
|
@ -2888,6 +2889,9 @@ gst_pulsesink_query (GstBaseSink * sink, GstQuery * query)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
#else
|
||||||
|
return GST_BASE_SINK_CLASS (parent_class)->query (sink, query);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue