diff options
Diffstat (limited to 'omx/gstomx.c')
-rw-r--r-- | omx/gstomx.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index ff232b0..76b9c42 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -333,6 +333,15 @@ gstomx_get_component_info (void *core, return TRUE; } +void * +gstomx_core_new (void *object, GType type) +{ + GOmxCore *core = g_omx_core_new (object); + gstomx_get_component_info (core, type); + g_omx_core_init (core); + return core; +} + GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "omx", |