From 619ee506cf6c1dfef7dd21f124fd0163f9bdf5e0 Mon Sep 17 00:00:00 2001 From: Tommi Myöhänen Date: Wed, 5 Dec 2007 16:02:15 +0000 Subject: gst/autodetect/gstautoaudiosink.*: Add property to filter sinks based on caps. Only select raw audio sinks by default... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Patch by: Tommi Myöhänen * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_class_init), (gst_auto_audio_sink_dispose), (gst_auto_audio_sink_init), (gst_auto_audio_sink_find_best), (gst_auto_audio_sink_set_property), (gst_auto_audio_sink_get_property): * gst/autodetect/gstautoaudiosink.h: Add property to filter sinks based on caps. Only select raw audio sinks by default for backwards compat. Fixes #417420. API: GstAutoAudioSink::filter-caps --- gst/autodetect/gstautoaudiosink.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/autodetect/gstautoaudiosink.h') diff --git a/gst/autodetect/gstautoaudiosink.h b/gst/autodetect/gstautoaudiosink.h index 36defb8a..2e5085fd 100644 --- a/gst/autodetect/gstautoaudiosink.h +++ b/gst/autodetect/gstautoaudiosink.h @@ -43,6 +43,7 @@ typedef struct _GstAutoAudioSink { /* explicit pointers to stuff used */ GstPad *pad; GstElement *kid; + GstCaps *filter_caps; } GstAutoAudioSink; typedef struct _GstAutoAudioSinkClass { -- cgit