[gstreamermm] fixed plugin registering
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] fixed plugin registering
- Date: Wed, 19 Feb 2014 00:26:01 +0000 (UTC)
commit 5a7ac608f2b7e205ff92d0ffd1c0c24e2fc5597f
Author: Marcin Kolny <marcin kolny flytronic pl>
Date: Wed Feb 19 01:19:32 2014 +0100
fixed plugin registering
gstreamer/gstreamermm/register.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/gstreamermm/register.h b/gstreamer/gstreamermm/register.h
index ebe4dd3..f17bb47 100644
--- a/gstreamer/gstreamermm/register.h
+++ b/gstreamer/gstreamermm/register.h
@@ -73,6 +73,7 @@ register_mm_type(const gchar * type_name=typeid(DerivedCppType).name())
static void base_init(typename DerivedCppType::BaseClassType *klass)
{
Gst::ElementClass<DerivedCppType> element_class(klass);
+ DerivedCppType::base_init(&element_class);
}
static void finalize(GObject *object)
{
@@ -101,7 +102,6 @@ register_mm_type(const gchar * type_name=typeid(DerivedCppType).name())
static void base_init(typename DerivedCppType::BaseClassType *klass)
{
Gst::init();
- DerivedCppType::base_class_init(klass);
}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]