mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
|
||||
gst_pulsesink_query (GstBaseSink * sink, GstQuery * query)
|
||||
{
|
||||
#ifdef HAVE_PULSE_1_0
|
||||
GstPulseSink *pulsesink = GST_PULSESINK_CAST (sink);
|
||||
gboolean ret;
|
||||
|
||||
|
@ -2888,6 +2889,9 @@ gst_pulsesink_query (GstBaseSink * sink, GstQuery * query)
|
|||
break;
|
||||
}
|
||||
return ret;
|
||||
#else
|
||||
return GST_BASE_SINK_CLASS (parent_class)->query (sink, query);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue