[gstreamermm] Build fix



commit 2979dc625daca3cb233b614f5d3e12ef8a055101
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Mon Sep 26 20:08:43 2016 +0200

    Build fix

 examples/Makefile.am                               |    2 +-
 examples/basics/bus.cc                             |    2 +-
 examples/opengl_filter/sample_gl_filter.h          |    2 +-
 .../gstreamermm-plugins-bad/filelist.am            |    2 ++
 gst-plugins-bad/src/glbasefilter.hg                |    2 ++
 gst-plugins-bad/src/glfilter.hg                    |    2 ++
 6 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 58a4aeb..a08d446 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -76,7 +76,7 @@ element_link_example_SOURCES                          = element_link/element_link.cc
 hello_world_example_SOURCES                            = hello_world/main.cc
 ogg_rewriter_example_SOURCES                           = ogg_rewriter/main.cc
 ogg_player_example_SOURCES                                     = ogg_player/main.cc
-opengl_filter_example_SOURCES                          = opengl_filter/main.cc 
+opengl_filter_example_SOURCES                          = opengl_filter/main.cc 
opengl_filter/sample_gl_filter.h
 optiongroup_example_SOURCES                                    = optiongroup/main.cc
 typefind_example_SOURCES                                       = typefind/main.cc
 
diff --git a/examples/basics/bus.cc b/examples/basics/bus.cc
index 3d542e6..9b46b9c 100644
--- a/examples/basics/bus.cc
+++ b/examples/basics/bus.cc
@@ -9,7 +9,7 @@
 Glib::RefPtr<Glib::MainLoop> main_loop;
 
 // Message watch function
-bool bus_message_watch(const Glib::RefPtr<Gst::Bus>& bus, const Glib::RefPtr<Gst::Message>& message)
+bool bus_message_watch(const Glib::RefPtr<Gst::Bus>& /* bus */, const Glib::RefPtr<Gst::Message>& message)
 {
   // Print type of the message posted on the bus, and the source object name.
   std::cout << "Got message of type " << Gst::Enums::get_name(message->get_message_type()) << std::endl;
diff --git a/examples/opengl_filter/sample_gl_filter.h b/examples/opengl_filter/sample_gl_filter.h
index 1b4cba5..516d072 100644
--- a/examples/opengl_filter/sample_gl_filter.h
+++ b/examples/opengl_filter/sample_gl_filter.h
@@ -29,7 +29,7 @@ class SampleGLFilter: public Gst::Bad::GLFilter
   }
 
 public:
-  static void base_init(Gst::ElementClass<SampleGLFilter> *klass)
+  static void class_init(Gst::ElementClass<SampleGLFilter> *klass)
   {
       klass->set_metadata("sample gl filter",
               "gstreamermm/examples",
diff --git a/gst-plugins-bad/gstreamermm-plugins-bad/filelist.am 
b/gst-plugins-bad/gstreamermm-plugins-bad/filelist.am
index d02bd27..0e83e3f 100644
--- a/gst-plugins-bad/gstreamermm-plugins-bad/filelist.am
+++ b/gst-plugins-bad/gstreamermm-plugins-bad/filelist.am
@@ -4,3 +4,5 @@ files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc
 files_built_h  = $(files_hg:.hg=.h)
 files_built_ph = $(patsubst %.hg,private/%_p.h,$(files_hg))
 files_extra_ph = 
+files_extra_h  =                \
+        wrap_init.h
diff --git a/gst-plugins-bad/src/glbasefilter.hg b/gst-plugins-bad/src/glbasefilter.hg
index 36d5f29..95366aa 100644
--- a/gst-plugins-bad/src/glbasefilter.hg
+++ b/gst-plugins-bad/src/glbasefilter.hg
@@ -19,6 +19,8 @@
  
 _DEFS(gstreamermm-plugins-bad,gst)
 
+#define GST_USE_UNSTABLE_API
+
 #include <gst/gl/gl.h>
 #include <gstreamermm/basetransform.h>
 
diff --git a/gst-plugins-bad/src/glfilter.hg b/gst-plugins-bad/src/glfilter.hg
index 800168d..2338cac 100644
--- a/gst-plugins-bad/src/glfilter.hg
+++ b/gst-plugins-bad/src/glfilter.hg
@@ -19,6 +19,8 @@
 
 _DEFS(gstreamermm-plugins-bad,gst)
 
+#define GST_USE_UNSTABLE_API
+
 #include <gst/gl/gl.h>
 #include <gstreamermm-plugins-bad/glbasefilter.h>
 #include <gstreamermm/videoinfo.h>


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