| 1 |
// Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 2 |
|
| 3 |
|
| 4 |
_PINCLUDE(gstreamermm/private/element_p.h) |
| 5 |
|
| 6 |
extern "C" |
| 7 |
{ |
| 8 |
|
| 9 |
static GType gst_input_selector_sync_mode_get_type() |
| 10 |
{ |
| 11 |
static GType const type = g_type_from_name("GstInputSelectorSyncMode"); |
| 12 |
return type; |
| 13 |
} |
| 14 |
|
| 15 |
GType gst_input_selector_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("input-selector"); |
| 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 |
InputSelector::InputSelector() |
| 46 |
: _CONSTRUCT("name", static_cast<char*>(0)) |
| 47 |
{} |
| 48 |
|
| 49 |
InputSelector::InputSelector(const Glib::ustring& name) |
| 50 |
: _CONSTRUCT("name", name.c_str()) |
| 51 |
{} |
| 52 |
|
| 53 |
} |