Debian Codegraph @

gstreamer/src/encodebin.ccg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 _PINCLUDE(gstreamermm/private/bin_p.h)
5
6 extern "C"
7 {
8
9 static GType gst_encode_bin_flags_get_type()
10 {
11 static GType const type = g_type_from_name("GstEncodeBinFlags");
12 return type;
13 }
14
15 GType gst_encode_bin_gstreamermm_get_type()
16 {
17 static GType type = 0;
18 GstElementFactory* factory = 0;
19 GstPluginFeature* feature = 0;
20
21 if(!type)
22 {
23 factory = gst_element_factory_find("encodebin");
24 // Make sure that the feature is actually loaded:
25 if(factory)
26 {
27 feature =
28 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
29
30 g_object_unref(factory);
31 factory = GST_ELEMENT_FACTORY(feature);
32 type = gst_element_factory_get_element_type(factory);
33 g_object_unref(factory);
34 }
35 }
36
37 return type;
38 }
39
40 } // extern "C"
41
42 namespace Gst
43 {
44
45 EncodeBin::EncodeBin()
46 : _CONSTRUCT("name", static_cast<char*>(0))
47 {}
48
49 EncodeBin::EncodeBin(const Glib::ustring& name)
50 : _CONSTRUCT("name", name.c_str())
51 {}
52
53 Glib::RefPtr<Gst::Pad> EncodeBin::request_pad(const Glib::RefPtr<Gst::Caps>& arg0)
54 {
55 GstPad* result;
56 g_signal_emit_by_name(gobj(), "request-pad", _CONVERT(`const Glib::RefPtr<Gst::Caps>&', `GstCaps*', `arg0'), &result, static_cast<void*>(0));
57 return _CONVERT(`GstPad*', `Glib::RefPtr<Gst::Pad>', `result');
58 }
59
60 Glib::RefPtr<Gst::Pad> EncodeBin::request_profile_pad(const Glib::ustring& arg0)
61 {
62 GstPad* result;
63 g_signal_emit_by_name(gobj(), "request-profile-pad", _CONVERT(`const Glib::ustring&', `gchararray', `arg0'), &result, static_cast<void*>(0));
64 return _CONVERT(`GstPad*', `Glib::RefPtr<Gst::Pad>', `result');
65 }
66
67 }