summaryrefslogtreecommitdiff
path: root/gst/playback/gstplaysink.h
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2014-03-15 16:05:22 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-16 18:35:57 +0100
commitfb8fdedb4f4649aa33700bbc720131c1678df49f (patch)
treebf9df787771bf3924f11c300e3e33a492324564f /gst/playback/gstplaysink.h
parentd6bd37460a58a8ca53c093ca51f8786aa05ed800 (diff)
downloadgstreamer-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.h3
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);