[gstreamermm] Gst::Bin: wrap missing methods
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Gst::Bin: wrap missing methods
- Date: Wed, 26 Aug 2015 13:42:56 +0000 (UTC)
commit fc179d5ae5ea1cbb3f4a33dadb9ff164542d07ab
Author: Marcin Kolny <marcin kolny gmail com>
Date: Wed Aug 26 13:18:21 2015 +0000
Gst::Bin: wrap missing methods
* gstreamer/src/buffer.{ccg|hg}: wrap gst_bin_sync_children_states
method, minor improvement (C++11).
gstreamer/src/bin.ccg | 4 ++--
gstreamer/src/bin.hg | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gstreamer/src/bin.ccg b/gstreamer/src/bin.ccg
index b01ad71..804f080 100644
--- a/gstreamer/src/bin.ccg
+++ b/gstreamer/src/bin.ccg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2008-2015 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
@@ -30,7 +30,7 @@ namespace Gst
{
Bin::Bin()
-: _CONSTRUCT("name", static_cast<char*>(0))
+: _CONSTRUCT("name", nullptr)
{}
Glib::RefPtr<Gst::Bin> Bin::add(const Glib::RefPtr<Gst::Element>& element)
diff --git a/gstreamer/src/bin.hg b/gstreamer/src/bin.hg
index 7782ba5..c31811b 100644
--- a/gstreamer/src/bin.hg
+++ b/gstreamer/src/bin.hg
@@ -1,6 +1,6 @@
/* gstreamermm - a C++ wrapper for gstreamer
*
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2008-2015 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
@@ -19,7 +19,7 @@
#include <gstreamermm/element.h>
#include <gstreamermm/childproxy.h>
-#include <gstreamermm/pad.h>
+
_DEFS(gstreamermm,gst)
@@ -235,6 +235,7 @@ public:
_WRAP_METHOD(Gst::Iterator<const Gst::Element> iterate_sinks() const, gst_bin_iterate_sinks)
_WRAP_METHOD(Gst::Iterator<Gst::Element> iterate_by_interface(GType iface),
gst_bin_iterate_all_by_interface)
_WRAP_METHOD(Gst::Iterator<const Gst::Element> iterate_by_interface(GType iface) const,
gst_bin_iterate_all_by_interface)
+ _WRAP_METHOD(bool sync_children_states(), gst_bin_sync_children_states)
_WRAP_METHOD(bool recalculate_latency(), gst_bin_recalculate_latency)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]