Debian Codegraph @

gstreamer/src/playsink.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/bin.h>
5 #include <gstreamermm/enums.h>
6 #include <gstreamermm/element.h>
7 #include <gstreamermm/sample.h>
8 #include <gstreamermm/caps.h>
9 #include <gstreamermm/streamvolume.h>
10 #include <gstreamermm/videooverlay.h>
11 #include <gstreamermm/navigation.h>
12 #include <gstreamermm/colorbalance.h>
13 _DEFS(gstreamermm,gst)
14
15 _CONFIGINCLUDE(gstreamermmconfig.h)
16 _IS_DEPRECATED
17
18 namespace Gst
19 {
20
21 _WRAP_ENUM(PlaySinkSendEventMode,GstPlaySinkSendEventMode)
22 _CONV_ENUM(Gst,PlaySinkSendEventMode)
23
24 /** A Wrapper for the playsink plugin.
25 * Please note that not all plug-ins are available on all systems so care
26 * must be taken that they exist before they are used otherwise there will
27 * be errors and possibly a crash.
28 *
29 * @ingroup GstPlugins
30 * @deprecated Plugins API is deprecated, and should not be used in a new code.
31 */
32 class PlaySink
33 : public Gst::Bin, public Gst::StreamVolume, public Gst::VideoOverlay, public Gst::Navigation, public Gst::ColorBalance
34 {
35 _CLASS_GOBJECT(PlaySink, GstPlaySink, GST_PLAY_SINK_GSTREAMERMM, Gst::Bin, GstBin)
36 _IMPLEMENTS_INTERFACE(Gst::StreamVolume)
37 _IMPLEMENTS_INTERFACE(Gst::VideoOverlay)
38 _IMPLEMENTS_INTERFACE(Gst::Navigation)
39 _IMPLEMENTS_INTERFACE(Gst::ColorBalance)
40
41 _IS_GSTREAMERMM_PLUGIN
42 protected:
43 PlaySink();
44 explicit PlaySink(const Glib::ustring& name);
45
46 public:
47 /** Creates a new playsink plugin with a unique name.
48 */
49 _WRAP_CREATE()
50
51 /** Creates a new playsink plugin with the given name.
52 */
53 _WRAP_CREATE(const Glib::ustring& name)
54
55 /** This is a convenience method for the action signal
56 * signal_reconfigure().
57 */
58 bool reconfigure();
59
60 /** This is a convenience method for the action signal
61 * signal_convert_sample().
62 */
63 Glib::RefPtr<Gst::Sample> convert_sample(const Glib::RefPtr<Gst::Caps>& arg0);
64
65
66 _WRAP_PROPERTY("flags", Gst::PlayFlags)
67 _WRAP_PROPERTY("mute", bool)
68 _WRAP_PROPERTY("volume", double)
69 _WRAP_PROPERTY("subtitle-font-desc", Glib::ustring)
70 _WRAP_PROPERTY("subtitle-encoding", Glib::ustring)
71 _WRAP_PROPERTY("vis-plugin", Glib::RefPtr<Gst::Element>)
72 _WRAP_PROPERTY("sample", Glib::RefPtr<Gst::Sample>)
73 _WRAP_PROPERTY("av-offset", gint64)
74 _WRAP_PROPERTY("video-sink", Glib::RefPtr<Gst::Element>)
75 _WRAP_PROPERTY("audio-sink", Glib::RefPtr<Gst::Element>)
76 _WRAP_PROPERTY("text-sink", Glib::RefPtr<Gst::Element>)
77 _WRAP_PROPERTY("send-event-mode", Gst::PlaySinkSendEventMode)
78 _WRAP_PROPERTY("force-aspect-ratio", bool)
79 _WRAP_PROPERTY("video-filter", Glib::RefPtr<Gst::Element>)
80 _WRAP_PROPERTY("audio-filter", Glib::RefPtr<Gst::Element>)
81
82
83 /** This is an action signal which is designed to be used as a method. To
84 * do that, use its convenience method, reconfigure().
85 */
86 _WRAP_SIGNAL(bool reconfigure(), "reconfigure", no_default_handler)
87
88
89 #m4 _CONVERSION(`Glib::RefPtr<Gst::Sample>', `GstSample*', `($3)->gobj_copy()')
90 #m4 _CONVERSION(`GstSample*', `Glib::RefPtr<Gst::Sample>', `Glib::wrap($3)')
91 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
92 /** This is an action signal which is designed to be used as a method. To
93 * do that, use its convenience method, convert_sample().
94 */
95 _WRAP_SIGNAL(Glib::RefPtr<Gst::Sample> convert_sample(const Glib::RefPtr<Gst::Caps>& arg0), "convert-sample", no_default_handler)
96
97 };
98
99 } // namespace Gst