[gstreamermm] Re-added Gst::TypeFind and Gst::TypeFindFactory.
- From: José Alburquerque <jaalburqu src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gstreamermm] Re-added Gst::TypeFind and Gst::TypeFindFactory.
- Date: Mon, 3 Aug 2009 01:14:52 +0000 (UTC)
commit 7c17ebe098fe299d985655241d22b8201dcd68ab
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Sun Aug 2 20:01:36 2009 -0400
Re-added Gst::TypeFind and Gst::TypeFindFactory.
ChangeLog | 12 ++++++++++++
gstreamer/gstreamermm.h | 4 ++--
gstreamer/src/Makefile_list_of_hg.am_fragment | 2 ++
gstreamer/src/typefind.ccg | 18 +++++++++---------
gstreamer/src/typefind.hg | 2 +-
gstreamer/src/typefindfactory.ccg | 2 +-
gstreamer/src/typefindfactory.hg | 2 +-
7 files changed, 28 insertions(+), 14 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index af6439c..abb0736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2009-08-02 José Alburquerque <jaalburqu svn gnome org>
+
+ Re-added Gst::TypeFind and Gst::TypeFindFactory.
+
+ * gstreamer/gstreamermm.h:
+ * gstreamer/src/Makefile_list_of_hg.am_fragment:
+ * gstreamer/src/typefind.ccg:
+ * gstreamer/src/typefind.hg:
+ * gstreamer/src/typefindfactory.ccg:
+ * gstreamer/src/typefindfactory.hg: Re-added Gst::TypeFind and
+ Gst::TypeFindFactory now that new example clarifies their usefulness.
+
2009-08-02 Murray Cumming <murrayc murrayc com>
Added typefind example.
diff --git a/gstreamer/gstreamermm.h b/gstreamer/gstreamermm.h
index 0ce3573..3b6c313 100644
--- a/gstreamer/gstreamermm.h
+++ b/gstreamer/gstreamermm.h
@@ -41,8 +41,8 @@
#include <gstreamermm/tagsetter.h>
#include <gstreamermm/task.h>
#include <gstreamermm/taskpool.h>
-//TODO: #include <gstreamermm/typefind.h>
-//TODO: #include <gstreamermm/typefindfactory.h>
+#include <gstreamermm/typefind.h>
+#include <gstreamermm/typefindfactory.h>
#include <gstreamermm/urihandler.h>
#include <gstreamermm/value.h>
#include <gstreamermm/xml.h>
diff --git a/gstreamer/src/Makefile_list_of_hg.am_fragment b/gstreamer/src/Makefile_list_of_hg.am_fragment
index b6d9b4c..744ea63 100644
--- a/gstreamer/src/Makefile_list_of_hg.am_fragment
+++ b/gstreamer/src/Makefile_list_of_hg.am_fragment
@@ -66,6 +66,8 @@ files_general_hg = bin.hg \
tuner.hg \
tunerchannel.hg \
tunernorm.hg \
+ typefind.hg \
+ typefindfactory.hg \
videoorientation.hg \
xoverlay.hg
diff --git a/gstreamer/src/typefind.ccg b/gstreamer/src/typefind.ccg
index 758b68c..8e84870 100644
--- a/gstreamer/src/typefind.ccg
+++ b/gstreamer/src/typefind.ccg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2009 The gstreamermm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -55,7 +55,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
const Glib::RefPtr<const Gst::Caps>& caps)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(plugin->gobj(), name.c_str(), rank,
+ return gst_type_find_register(plugin->gobj(), name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback,
const_cast<gchar**>(extensions.data()), caps->gobj(), slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
@@ -66,7 +66,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
const Glib::RefPtr<const Gst::Caps>& caps)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(plugin->gobj(), name.c_str(), rank,
+ return gst_type_find_register(plugin->gobj(), name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback, 0, caps->gobj(), slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
}
@@ -76,7 +76,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
const Glib::StringArrayHandle& extensions)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(plugin->gobj(), name.c_str(), rank,
+ return gst_type_find_register(plugin->gobj(), name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback,
const_cast<gchar**>(extensions.data()), 0, slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
@@ -86,7 +86,7 @@ bool TypeFind::register_slot(const Glib::RefPtr<Gst::Plugin>& plugin,
const Glib::ustring& name, guint rank, const SlotFind& find_slot)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(plugin->gobj(), name.c_str(), rank,
+ return gst_type_find_register(plugin->gobj(), name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback, 0, 0, slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
}
@@ -96,7 +96,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
const Glib::RefPtr<const Gst::Caps>& caps)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(0, name.c_str(), rank,
+ return gst_type_find_register(0, name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback,
const_cast<gchar**>(extensions.data()), caps->gobj(), slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
@@ -106,7 +106,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
const SlotFind& find_slot, const Glib::RefPtr<const Gst::Caps>& caps)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(0, name.c_str(), rank,
+ return gst_type_find_register(0, name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback, 0, caps->gobj(), slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
}
@@ -115,7 +115,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
const SlotFind& find_slot, const Glib::StringArrayHandle& extensions)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(0, name.c_str(), rank,
+ return gst_type_find_register(0, name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback,
const_cast<gchar**>(extensions.data()), 0, slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
@@ -125,7 +125,7 @@ bool TypeFind::register_slot(const Glib::ustring& name, guint rank,
const SlotFind& find_slot)
{
SlotFind* slot_copy = new SlotFind(find_slot);
- gst_type_find_register(0, name.c_str(), rank,
+ return gst_type_find_register(0, name.c_str(), rank,
&TypeFind_Find_gstreamermm_callback, 0, 0, slot_copy,
&TypeFind_Find_gstreamermm_callback_destroy);
}
diff --git a/gstreamer/src/typefind.hg b/gstreamer/src/typefind.hg
index d194600..c06b338 100644
--- a/gstreamer/src/typefind.hg
+++ b/gstreamer/src/typefind.hg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2009 The gstreamermm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/gstreamer/src/typefindfactory.ccg b/gstreamer/src/typefindfactory.ccg
index 37193c4..9d11a67 100644
--- a/gstreamer/src/typefindfactory.ccg
+++ b/gstreamer/src/typefindfactory.ccg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2009 The gstreamermm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/gstreamer/src/typefindfactory.hg b/gstreamer/src/typefindfactory.hg
index 6aaeae7..58bc8e2 100644
--- a/gstreamer/src/typefindfactory.hg
+++ b/gstreamer/src/typefindfactory.hg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2009 The gstreamermm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]