[gstreamermm] Gst::Context: minors



commit e328d0f2871f66390a7bc0dcc8caa0cf6c37f70e
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Mon May 16 22:53:54 2016 +0200

    Gst::Context: minors
    
        * gstreamer/src/context.{ccg|hg}: minor cleanup.

 gstreamer/src/context.ccg |    5 ++++-
 gstreamer/src/context.hg  |   12 +++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/gstreamer/src/context.ccg b/gstreamer/src/context.ccg
index 71f7f9c..381dd4e 100644
--- a/gstreamer/src/context.ccg
+++ b/gstreamer/src/context.ccg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2014-2015 The gstreamermm Development Team
+ * Copyright 2014-2016 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
@@ -16,3 +16,6 @@
  * License along with this library; if not, write to the Free
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
+
+#include <gstreamermm/structure.h>
+
diff --git a/gstreamer/src/context.hg b/gstreamer/src/context.hg
index 3049598..10e090c 100644
--- a/gstreamer/src/context.hg
+++ b/gstreamer/src/context.hg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2014-2015 The gstreamermm Development Team
+ * Copyright 2014-2016 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,13 +19,14 @@
  
 #include <gst/gstcontext.h>
 #include <gstreamermm/miniobject.h>
-#include <gstreamermm/structure.h>
- 
+
 _DEFS(gstreamermm,gst)
 
 namespace Gst
 {
 
+class Structure;
+
 /** Lightweight objects to represent element contexts
  *
  * Gst::Context is a container object used to store contexts like a device
@@ -51,6 +52,8 @@ namespace Gst
  * known context on the element that asks for it if possible. Otherwise the
  * application should provide one if it can.
  *
+ * Last reviewed on 2016-05-16 (1.8.0)
+ *
  * Since: 1.2
  */
 class Context : public MiniObject
@@ -62,8 +65,7 @@ class Context : public MiniObject
 public:
   _WRAP_METHOD(static Glib::RefPtr<Gst::Context> create(const Glib::ustring& context_type, bool persistent), 
gst_context_new);
 
-  _WRAP_METHOD(Glib::RefPtr<Gst::Context> copy(), gst_context_copy)
-  _WRAP_METHOD(Glib::RefPtr<Gst::Context> copy() const, gst_context_copy, constversion)
+  _WRAP_METHOD(Glib::RefPtr<Gst::Context> copy() const, gst_context_copy)
 
   _WRAP_METHOD(Glib::ustring get_context_type() const, gst_context_get_context_type)
 


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