Debian Codegraph @

gstreamer/src/playbin.ccg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 _PINCLUDE(gstreamermm/private/pipeline_p.h)
5
6 extern "C"
7 {
8
9 GType gst_play_bin_gstreamermm_get_type()
10 {
11 static GType type = 0;
12 GstElementFactory* factory = 0;
13 GstPluginFeature* feature = 0;
14
15 if(!type)
16 {
17 factory = gst_element_factory_find("playbin");
18 // Make sure that the feature is actually loaded:
19 if(factory)
20 {
21 feature =
22 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
23
24 g_object_unref(factory);
25 factory = GST_ELEMENT_FACTORY(feature);
26 type = gst_element_factory_get_element_type(factory);
27 g_object_unref(factory);
28 }
29 }
30
31 return type;
32 }
33
34 } // extern "C"
35
36 namespace Gst
37 {
38
39 PlayBin::PlayBin()
40 : _CONSTRUCT("name", static_cast<char*>(0))
41 {}
42
43 PlayBin::PlayBin(const Glib::ustring& name)
44 : _CONSTRUCT("name", name.c_str())
45 {}
46
47 Gst::TagList PlayBin::get_video_tags(int arg0)
48 {
49 GstTagList* result;
50 g_signal_emit_by_name(gobj(), "get-video-tags", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
51 return _CONVERT(`GstTagList*', `Gst::TagList', `result');
52 }
53
54 Gst::TagList PlayBin::get_audio_tags(int arg0)
55 {
56 GstTagList* result;
57 g_signal_emit_by_name(gobj(), "get-audio-tags", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
58 return _CONVERT(`GstTagList*', `Gst::TagList', `result');
59 }
60
61 Gst::TagList PlayBin::get_text_tags(int arg0)
62 {
63 GstTagList* result;
64 g_signal_emit_by_name(gobj(), "get-text-tags", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
65 return _CONVERT(`GstTagList*', `Gst::TagList', `result');
66 }
67
68 Glib::RefPtr<Gst::Sample> PlayBin::convert_sample(const Glib::RefPtr<Gst::Caps>& arg0)
69 {
70 GstSample* result;
71 g_signal_emit_by_name(gobj(), "convert-sample", _CONVERT(`const Glib::RefPtr<Gst::Caps>&', `GstCaps*', `arg0'), &result, static_cast<void*>(0));
72 return _CONVERT(`GstSample*', `Glib::RefPtr<Gst::Sample>', `result');
73 }
74
75 Glib::RefPtr<Gst::Pad> PlayBin::get_video_pad(int arg0)
76 {
77 GstPad* result;
78 g_signal_emit_by_name(gobj(), "get-video-pad", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
79 return _CONVERT(`GstPad*', `Glib::RefPtr<Gst::Pad>', `result');
80 }
81
82 Glib::RefPtr<Gst::Pad> PlayBin::get_audio_pad(int arg0)
83 {
84 GstPad* result;
85 g_signal_emit_by_name(gobj(), "get-audio-pad", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
86 return _CONVERT(`GstPad*', `Glib::RefPtr<Gst::Pad>', `result');
87 }
88
89 Glib::RefPtr<Gst::Pad> PlayBin::get_text_pad(int arg0)
90 {
91 GstPad* result;
92 g_signal_emit_by_name(gobj(), "get-text-pad", _CONVERT(`int', `gint', `arg0'), &result, static_cast<void*>(0));
93 return _CONVERT(`GstPad*', `Glib::RefPtr<Gst::Pad>', `result');
94 }
95
96 }