Debian Codegraph @

gstreamer/src/identity.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/basetransform.h>
5 #include <gstreamermm/buffer.h>
6 #include <gstreamermm/buffer.h>
7 _DEFS(gstreamermm,gst)
8
9 _CONFIGINCLUDE(gstreamermmconfig.h)
10 _IS_DEPRECATED
11
12 namespace Gst
13 {
14
15 /** A Wrapper for the identity plugin.
16 * Please note that not all plug-ins are available on all systems so care
17 * must be taken that they exist before they are used otherwise there will
18 * be errors and possibly a crash.
19 *
20 * @ingroup GstPlugins
21 * @deprecated Plugins API is deprecated, and should not be used in a new code.
22 */
23 class Identity
24 : public Gst::BaseTransform
25 {
26 _CLASS_GOBJECT(Identity, GstIdentity, GST_IDENTITY_GSTREAMERMM, Gst::BaseTransform, GstBaseTransform)
27 _IS_GSTREAMERMM_PLUGIN
28 protected:
29 Identity();
30 explicit Identity(const Glib::ustring& name);
31
32 public:
33 /** Creates a new identity plugin with a unique name.
34 */
35 _WRAP_CREATE()
36
37 /** Creates a new identity plugin with the given name.
38 */
39 _WRAP_CREATE(const Glib::ustring& name)
40
41 _WRAP_PROPERTY("sleep-time", guint)
42 _WRAP_PROPERTY("error-after", int)
43 _WRAP_PROPERTY("drop-probability", float)
44 _WRAP_PROPERTY("drop-buffer-flags", Gst::BufferFlags)
45 _WRAP_PROPERTY("datarate", int)
46 _WRAP_PROPERTY("silent", bool)
47 _WRAP_PROPERTY("single-segment", bool)
48 _WRAP_PROPERTY("last-message", Glib::ustring)
49 _WRAP_PROPERTY("dump", bool)
50 _WRAP_PROPERTY("sync", bool)
51 _WRAP_PROPERTY("check-imperfect-timestamp", bool)
52 _WRAP_PROPERTY("check-imperfect-offset", bool)
53 _WRAP_PROPERTY("signal-handoffs", bool)
54
55 #m4 _CONVERSION(`GstBuffer*', `const Glib::RefPtr<Gst::Buffer>&', `Glib::wrap($3, true)')
56 _WRAP_SIGNAL(void handoff(const Glib::RefPtr<Gst::Buffer>& arg0), "handoff", no_default_handler)
57 };
58
59 } // namespace Gst