Debian Codegraph @

gstreamer/src/decodebin.hg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 #include <gstreamermm/bin.h>
5 #include <gstreamermm/caps.h>
6 #include <gstreamermm/pad.h>
7 #include <glibmm/valuearray.h>
8 #include <gstreamermm/enums.h>
9 #include <gstreamermm/elementfactory.h>
10 #include <gstreamermm/element.h>
11 #include <gstreamermm/query.h>
12 _DEFS(gstreamermm,gst)
13
14 _CONFIGINCLUDE(gstreamermmconfig.h)
15 _IS_DEPRECATED
16
17 // Plug-in C enums used in signals:
18 namespace Gst
19 {
20
21 /** A Wrapper for the decodebin plugin.
22 * Please note that not all plug-ins are available on all systems so care
23 * must be taken that they exist before they are used otherwise there will
24 * be errors and possibly a crash.
25 *
26 * @ingroup GstPlugins
27 * @deprecated Plugins API is deprecated, and should not be used in a new code.
28 */
29 class DecodeBin
30 : public Gst::Bin
31 {
32 _CLASS_GOBJECT(DecodeBin, GstDecodeBin, GST_DECODE_BIN_GSTREAMERMM, Gst::Bin, GstBin)
33 _IS_GSTREAMERMM_PLUGIN
34 protected:
35 DecodeBin();
36 explicit DecodeBin(const Glib::ustring& name);
37
38 public:
39 /** Creates a new decodebin plugin with a unique name.
40 */
41 _WRAP_CREATE()
42
43 /** Creates a new decodebin plugin with the given name.
44 */
45 _WRAP_CREATE(const Glib::ustring& name)
46
47 _WRAP_PROPERTY("caps", Glib::RefPtr<Gst::Caps>)
48 _WRAP_PROPERTY("subtitle-encoding", Glib::ustring)
49 _WRAP_PROPERTY("sink-caps", Glib::RefPtr<Gst::Caps>)
50 _WRAP_PROPERTY("use-buffering", bool)
51 _WRAP_PROPERTY("low-percent", int)
52 _WRAP_PROPERTY("high-percent", int)
53 _WRAP_PROPERTY("max-size-bytes", guint)
54 _WRAP_PROPERTY("max-size-buffers", guint)
55 _WRAP_PROPERTY("max-size-time", guint64)
56 _WRAP_PROPERTY("post-stream-topology", bool)
57 _WRAP_PROPERTY("expose-all-streams", bool)
58 _WRAP_PROPERTY("connection-speed", guint64)
59
60 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
61 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
62 _WRAP_SIGNAL(void unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1), "unknown-type", no_default_handler)
63 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
64 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
65 _WRAP_SIGNAL(bool autoplug_continue(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1), "autoplug-continue", no_default_handler)
66 #m4 _CONVERSION(`Glib::ValueArray', `GValueArray*', `($3).gobj_copy()')
67 #m4 _CONVERSION(`GValueArray*', `Glib::ValueArray', `Glib::wrap($3)')
68 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
69 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
70 _WRAP_SIGNAL(Glib::ValueArray autoplug_factories(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1), "autoplug-factories", no_default_handler)
71 #m4 _CONVERSION(`Glib::ValueArray', `GValueArray*', `($3).gobj_copy()')
72 #m4 _CONVERSION(`GValueArray*', `Glib::ValueArray', `Glib::wrap($3)')
73 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
74 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
75 #m4 _CONVERSION(`GValueArray*', `const Glib::ValueArray&', `Glib::wrap($3, true)')
76 _WRAP_SIGNAL(Glib::ValueArray autoplug_sort(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::ValueArray& arg2), "autoplug-sort", no_default_handler)
77 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
78 #m4 _CONVERSION(`GstCaps*', `const Glib::RefPtr<Gst::Caps>&', `Glib::wrap($3, true)')
79 #m4 _CONVERSION(`GstElementFactory*', `const Glib::RefPtr<Gst::ElementFactory>&', `Glib::wrap($3, true)')
80 _WRAP_SIGNAL(Gst::AutoplugSelectResult autoplug_select(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::RefPtr<Gst::ElementFactory>& arg2), "autoplug-select", no_default_handler)
81 #m4 _CONVERSION(`GstPad*', `const Glib::RefPtr<Gst::Pad>&', `Glib::wrap($3, true)')
82 #m4 _CONVERSION(`GstElement*', `const Glib::RefPtr<Gst::Element>&', `Glib::wrap($3, true)')
83 #m4 _CONVERSION(`GstQuery*', `const Glib::RefPtr<Gst::Query>&', `Glib::wrap($3, true)')
84 _WRAP_SIGNAL(bool autoplug_query(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Element>& arg1, const Glib::RefPtr<Gst::Query>& arg2), "autoplug-query", no_default_handler)
85 _WRAP_SIGNAL(void drained(), "drained", no_default_handler)
86 };
87
88 } // namespace Gst