Debian Codegraph @

gstreamer/src/playbin.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/pipeline.h>
5 #include <gstreamermm/element.h>
6 #include <gstreamermm/enums.h>
7 #include <gstreamermm/sample.h>
8 #include <gstreamermm/videoinfo.h>
9 #include <gstreamermm/videoinfo.h>
10 #include <gstreamermm/taglist.h>
11 #include <gstreamermm/caps.h>
12 #include <gstreamermm/pad.h>
13 #include <gstreamermm/streamvolume.h>
14 #include <gstreamermm/videooverlay.h>
15 #include <gstreamermm/navigation.h>
16 #include <gstreamermm/colorbalance.h>
17 _DEFS(gstreamermm,gst)
18
19 _CONFIGINCLUDE(gstreamermmconfig.h)
20 _IS_DEPRECATED
21
22 namespace Gst
23 {
24
25 /** A Wrapper for the playbin plugin.
26 * Please note that not all plug-ins are available on all systems so care
27 * must be taken that they exist before they are used otherwise there will
28 * be errors and possibly a crash.
29 *
30 * @ingroup GstPlugins
31 * @deprecated Plugins API is deprecated, and should not be used in a new code.
32 */
33 class PlayBin
34 : public Gst::Pipeline, public Gst::StreamVolume, public Gst::VideoOverlay, public Gst::Navigation, public Gst::ColorBalance
35 {
36 _CLASS_GOBJECT(PlayBin, GstPlayBin, GST_PLAY_BIN_GSTREAMERMM, Gst::Pipeline, GstPipeline)
37 _IMPLEMENTS_INTERFACE(Gst::StreamVolume)
38 _IMPLEMENTS_INTERFACE(Gst::VideoOverlay)
39 _IMPLEMENTS_INTERFACE(Gst::Navigation)
40 _IMPLEMENTS_INTERFACE(Gst::ColorBalance)
41
42 _IS_GSTREAMERMM_PLUGIN
43 protected:
44 PlayBin();
45 explicit PlayBin(const Glib::ustring& name);
46
47 public:
48 /** Creates a new playbin plugin with a unique name.
49 */
50 _WRAP_CREATE()
51
52 /** Creates a new playbin plugin with the given name.
53 */
54 _WRAP_CREATE(const Glib::ustring& name)
55
56 /** This is a convenience method for the action signal
57 * signal_get_video_tags().
58 */
59 Gst::TagList get_video_tags(int arg0);
60
61 /** This is a convenience method for the action signal
62 * signal_get_audio_tags().
63 */
64 Gst::TagList get_audio_tags(int arg0);
65
66 /** This is a convenience method for the action signal
67 * signal_get_text_tags().
68 */
69 Gst::TagList get_text_tags(int arg0);
70
71 /** This is a convenience method for the action signal
72 * signal_convert_sample().
73 */
74 Glib::RefPtr<Gst::Sample> convert_sample(const Glib::RefPtr<Gst::Caps>& arg0);
75
76 /** This is a convenience method for the action signal
77 * signal_get_video_pad().
78 */
79 Glib::RefPtr<Gst::Pad> get_video_pad(int arg0);
80
81 /** This is a convenience method for the action signal
82 * signal_get_audio_pad().
83 */
84 Glib::RefPtr<Gst::Pad> get_audio_pad(int arg0);
85
86 /** This is a convenience method for the action signal
87 * signal_get_text_pad().
88 */
89 Glib::RefPtr<Gst::Pad> get_text_pad(int arg0);
90
91
92 _WRAP_PROPERTY("uri", Glib::ustring)
93 _WRAP_PROPERTY("current-uri", Glib::ustring)
94 _WRAP_PROPERTY("suburi", Glib::ustring)
95 _WRAP_PROPERTY("current-suburi", Glib::ustring)
96 _WRAP_PROPERTY("source", Glib::RefPtr<Gst::Element>)
97 _WRAP_PROPERTY("flags", Gst::PlayFlags)
98 _WRAP_PROPERTY("n-video", int)
99 _WRAP_PROPERTY("current-video", int)
100 _WRAP_PROPERTY("n-audio", int)
101 _WRAP_PROPERTY("current-audio", int)
102 _WRAP_PROPERTY("n-text", int)
103 _WRAP_PROPERTY("current-text", int)
104 _WRAP_PROPERTY("subtitle-encoding", Glib::ustring)
105 _WRAP_PROPERTY("audio-sink", Glib::RefPtr<Gst::Element>)
106 _WRAP_PROPERTY("video-sink", Glib::RefPtr<Gst::Element>)
107 _WRAP_PROPERTY("vis-plugin", Glib::RefPtr<Gst::Element>)
108 _WRAP_PROPERTY("text-sink", Glib::RefPtr<Gst::Element>)
109 _WRAP_PROPERTY("video-stream-combiner", Glib::RefPtr<Gst::Element>)
110 _WRAP_PROPERTY("audio-stream-combiner", Glib::RefPtr<Gst::Element>)
111 _WRAP_PROPERTY("text-stream-combiner", Glib::RefPtr<Gst::Element>)
112 _WRAP_PROPERTY("volume", double)
113 _WRAP_PROPERTY("mute", bool)
114 _WRAP_PROPERTY("sample", Glib::RefPtr<Gst::Sample>)
115 _WRAP_PROPERTY("subtitle-font-desc", Glib::ustring)
116 _WRAP_PROPERTY("connection-speed", guint64)
117 _WRAP_PROPERTY("buffer-size", int)
118 _WRAP_PROPERTY("buffer-duration", gint64)
119 _WRAP_PROPERTY("av-offset", gint64)
120 _WRAP_PROPERTY("ring-buffer-max-size", guint64)
121 _WRAP_PROPERTY("force-aspect-ratio", bool)
122 _WRAP_PROPERTY("audio-filter", Glib::RefPtr<Gst::Element>)
123 _WRAP_PROPERTY("video-filter", Glib::RefPtr<Gst::Element>)
124 _WRAP_PROPERTY("video-multiview-mode", Gst::VideoMultiviewFramePacking)
125 _WRAP_PROPERTY("video-multiview-flags", Gst::VideoMultiviewFlags)
126
127 _WRAP_SIGNAL(void about_to_finish(), "about-to-finish", no_default_handler)
128 _WRAP_SIGNAL(void video_changed(), "video-changed", no_default_handler)
129 _WRAP_SIGNAL(void audio_changed(), "audio-changed", no_default_handler)
130 _WRAP_SIGNAL(void text_changed(), "text-changed", no_default_handler)
131 _WRAP_SIGNAL(void video_tags_changed(int arg0), "video-tags-changed", no_default_handler)
132 _WRAP_SIGNAL(void audio_tags_changed(int arg0), "audio-tags-changed", no_default_handler)
133 _WRAP_SIGNAL(void text_tags_changed(int arg0), "text-tags-changed", no_default_handler)
134 #m4 _CONVERSION(`GstElement*', `const Glib::RefPtr<Gst::Element>&', `Glib::wrap($3, true)')
135 _WRAP_SIGNAL(void source_setup(const Glib::RefPtr<Gst::Element>& arg0), "source-setup", no_default_handler)
136 #m4 _CONVERSION(`GstElement*', `const Glib::RefPtr<Gst::Element>&', `Glib::wrap($3, true)')
137 _WRAP_SIGNAL(void element_setup(const Glib::RefPtr<Gst::Element>& arg0), "element-setup", no_default_handler)
138
139 #m4 _CONVERSION(`Gst::TagList', `GstTagList*', `($3).gobj_copy()')
140 #m4 _CONVERSION(`GstTagList*', `Gst::TagList', `Glib::wrap_taglist($3)')
141 /** This is an action signal which is designed to be used as a method. To
142 * do that, use its convenience method, get_video_tags().
143 */
144 _WRAP_SIGNAL(Gst::TagList get_video_tags(int arg0), "get-video-tags", no_default_handler)
145
146
147 #m4 _CONVERSION(`Gst::TagList', `GstTagList*', `($3).gobj_copy()')
148 #m4 _CONVERSION(`GstTagList*', `Gst::TagList', `Glib::wrap_taglist($3)')
149 /** This is an action signal which is designed to be used as a method. To
150 * do that, use its convenience method, get_audio_tags().
151 */
152 _WRAP_SIGNAL(Gst::TagList get_audio_tags(int arg0), "get-audio-tags", no_default_handler)
153
154
155 #m4 _CONVERSION(`Gst::TagList', `GstTagList*', `($3).gobj_copy()')
156 #m4 _CONVERSION(`GstTagList*', `Gst::TagList', `Glib::wrap_taglist($3)')
157 /** This is an action signal which is designed to be used as a method. To
158 * do that, use its convenience method, get_text_tags().
159 */
160 _WRAP_SIGNAL(Gst::TagList get_text_tags(int arg0), "get-text-tags", no_default_handler)
161
162
163 #m4 _CONVERSION(`Glib::RefPtr<Gst::Sample>', `GstSample*', `($3)->gobj_copy()')
164 #m4 _CONVERSION(`GstSample*', `Glib::RefPtr<Gst::Sample>', `Glib::wrap($3)')
165 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
166 /** This is an action signal which is designed to be used as a method. To
167 * do that, use its convenience method, convert_sample().
168 */
169 _WRAP_SIGNAL(Glib::RefPtr<Gst::Sample> convert_sample(const Glib::RefPtr<Gst::Caps>& arg0), "convert-sample", no_default_handler)
170
171
172 #m4 _CONVERSION(`GstPad*', `Glib::RefPtr<Gst::Pad>', `Glib::wrap($3)')
173 /** This is an action signal which is designed to be used as a method. To
174 * do that, use its convenience method, get_video_pad().
175 */
176 _WRAP_SIGNAL(Glib::RefPtr<Gst::Pad> get_video_pad(int arg0), "get-video-pad", no_default_handler)
177
178
179 #m4 _CONVERSION(`GstPad*', `Glib::RefPtr<Gst::Pad>', `Glib::wrap($3)')
180 /** This is an action signal which is designed to be used as a method. To
181 * do that, use its convenience method, get_audio_pad().
182 */
183 _WRAP_SIGNAL(Glib::RefPtr<Gst::Pad> get_audio_pad(int arg0), "get-audio-pad", no_default_handler)
184
185
186 #m4 _CONVERSION(`GstPad*', `Glib::RefPtr<Gst::Pad>', `Glib::wrap($3)')
187 /** This is an action signal which is designed to be used as a method. To
188 * do that, use its convenience method, get_text_pad().
189 */
190 _WRAP_SIGNAL(Glib::RefPtr<Gst::Pad> get_text_pad(int arg0), "get-text-pad", no_default_handler)
191
192 };
193
194 } // namespace Gst