[gstreamermm: 60/167] minor change in typefind



commit 0338f7e2777a4b049769dd376f070fae963ad88f
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date:   Fri Jul 26 15:08:41 2013 +0200

    minor change in typefind

 gstreamer/src/typefind.ccg |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gstreamer/src/typefind.ccg b/gstreamer/src/typefind.ccg
index 0b9af7c..da50d90 100644
--- a/gstreamer/src/typefind.ccg
+++ b/gstreamer/src/typefind.ccg
@@ -61,7 +61,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(Glib::unwrap(plugin), name.c_str(), rank,
     &TypeFind_Find_gstreamermm_callback,
-    const_cast<gchar**>(extensions.data()), Glib::unwrap(caps), slot_copy,
+    (gchar*)extensions.data(), const_cast<GstCaps*>(Glib::unwrap(caps)), slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 
@@ -71,7 +71,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
 {
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(Glib::unwrap(plugin), name.c_str(), rank,
-    &TypeFind_Find_gstreamermm_callback, 0, Glib::unwrap(caps), slot_copy,
+    &TypeFind_Find_gstreamermm_callback, 0, const_cast<GstCaps*>(Glib::unwrap(caps)), slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 
@@ -82,7 +82,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(Glib::unwrap(plugin), name.c_str(), rank,
     &TypeFind_Find_gstreamermm_callback,
-    const_cast<gchar**>(extensions.data()), 0, slot_copy,
+    (gchar*)extensions.data(), 0, slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 
@@ -102,7 +102,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(0, name.c_str(), rank,
     &TypeFind_Find_gstreamermm_callback,
-    const_cast<gchar**>(extensions.data()), Glib::unwrap(caps), slot_copy,
+    (gchar*)extensions.data(), const_cast<GstCaps*>(Glib::unwrap(caps)), slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 
@@ -111,7 +111,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
 {
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(0, name.c_str(), rank,
-    &TypeFind_Find_gstreamermm_callback, 0, Glib::unwrap(caps), slot_copy,
+    &TypeFind_Find_gstreamermm_callback, 0, const_cast<GstCaps*>(Glib::unwrap(caps)), slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 
@@ -121,7 +121,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
   SlotFind* slot_copy = new SlotFind(find_slot);
   return gst_type_find_register(0, name.c_str(), rank,
     &TypeFind_Find_gstreamermm_callback,
-    const_cast<gchar**>(extensions.data()), 0, slot_copy,
+    (gchar*)extensions.data(), 0, slot_copy,
     &TypeFind_Find_gstreamermm_callback_destroy);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]