gstreamermm gst/Makefile.am patch
- From: José Alburquerque <jaalburquerque cox net>
- To: gtkmm-list gnome org
- Subject: gstreamermm gst/Makefile.am patch
- Date: Tue, 27 Nov 2007 18:48:57 -0500
Hi. I found a few lines that needed to be changed in the
gst/Makefile.am file (I think), so I thought I'd submit this patch.
Also, I thought the tests/test-create-element should output something if
successful so I modified it a bit. Is this fine? I can't check it in
so someone might have to do so (Maybe Murray or Milosz?). One other
question (maybe someone here can answer): Is the following line (in
gst/src/error.hg) valid? If so, what does it mean (I'm referring to the
three arguments instead of two like in most other cases)?
...
_DEFS(gstmm,gst,gsterror)
...
-Jose
Index: gst/Makefile.am
===================================================================
--- gst/Makefile.am (revision 86)
+++ gst/Makefile.am (working copy)
@@ -3,11 +3,11 @@
EXTRA_DIST = README gstmmconfig.h.in \
gstmm-1.0.pc.in gstmm.h
-gtkmm_includedir = $(includedir)/gstmm-1.0
-gtkmm_include_DATA = gstmm.h
+gstmm_includedir = $(includedir)/gstmm-1.0
+gstmm_include_DATA = gstmm.h
-gtkmm_configdir = $(libdir)/gstmm-1.0/include
-gtkmm_config_DATA = gstmmconfig.h
+gstmm_configdir = $(libdir)/gstmm-1.0/include
+gstmm_config_DATA = gstmmconfig.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gstmm-1.0.pc
Index: tests/test-create-element.cc
===================================================================
--- tests/test-create-element.cc (revision 86)
+++ tests/test-create-element.cc (working copy)
@@ -7,6 +7,7 @@
Glib::RefPtr<Gst::Element> element = Gst::Element::create("fakesrc", "source");
- if(!element)
- std::cout << "Failed to created gst element." << std::endl;
+ if(element)
+ std::cout << "Successfully created gst element '" <<
+ element->get_name() << "'." << std::endl;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]