diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2014-03-15 16:05:22 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-03-16 18:35:57 +0100 |
commit | fb8fdedb4f4649aa33700bbc720131c1678df49f (patch) | |
tree | bf9df787771bf3924f11c300e3e33a492324564f /gst/playback/gstplaysink.h | |
parent | d6bd37460a58a8ca53c093ca51f8786aa05ed800 (diff) | |
download | gstreamer-plugins-base-fb8fdedb4f4649aa33700bbc720131c1678df49f.tar.gz |
playback: Add video-/audio-filter properties
This provides an audio-filter and video-filter property to allow
applications to set filter elements/bins. The idea is that these will be
applied if possible -- for non-raw sinks, the filters will be skipped.
If the application wishes to force the application of the filters, this
can be done by setting the new flag introduced on playsink -
GST_PLAY_FLAG_FORCE_FILTERS.
https://bugzilla.gnome.org/show_bug.cgi?id=679031
Diffstat (limited to 'gst/playback/gstplaysink.h')
-rw-r--r-- | gst/playback/gstplaysink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/playback/gstplaysink.h b/gst/playback/gstplaysink.h index ff47a1901..f1025839b 100644 --- a/gst/playback/gstplaysink.h +++ b/gst/playback/gstplaysink.h @@ -72,6 +72,9 @@ GstPad * gst_play_sink_request_pad (GstPlaySink *playsink, GstPlaySin void gst_play_sink_release_pad (GstPlaySink *playsink, GstPad *pad); void gst_play_sink_refresh_pad (GstPlaySink *playsink, GstPad *pad, GstPlaySinkType type); +void gst_play_sink_set_filter (GstPlaySink * playsink, GstPlaySinkType type, GstElement * filter); +GstElement * gst_play_sink_get_filter (GstPlaySink * playsink, GstPlaySinkType type); + void gst_play_sink_set_sink (GstPlaySink * playsink, GstPlaySinkType type, GstElement * sink); GstElement * gst_play_sink_get_sink (GstPlaySink * playsink, GstPlaySinkType type); |