Commit 2979dc62 authored by Marcin Kolny's avatar Marcin Kolny

Build fix

parent b46d8872
......@@ -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
......
......@@ -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;
......
......@@ -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",
......
......@@ -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
......@@ -19,6 +19,8 @@
_DEFS(gstreamermm-plugins-bad,gst)
#define GST_USE_UNSTABLE_API
#include <gst/gl/gl.h>
#include <gstreamermm/basetransform.h>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment