Re: <gstmm.h> include errors



Yeah i'm sorry, I've got to learn how to use moap properly (I'll read some documentation online), I think since I've started using it but not really knowing how to use it I've created even messier changelogs, sorry for that.

2007/11/20, Murray Cumming <murrayc murrayc com>:
On Mon, 2007-11-19 at 16:26 -0500, José Alburquerque wrote:
> The example code is the following:
>
> #include <iostream>
> #include <gstmm.h>
>
> using namespace std;
>
> int main (int argc, char* argv[]) {
>     Gst::init(argc, argv);
>
>     Glib::RefPtr<Gst::Element> element =
>         Gst::Element::create("fakesrc", "source");
>
>     if (!element) {
>         cout << "Failed to created gst element." << endl;
>     }
> }

Thanks. I've added that in the tests/ directory.

I believe I've corrected gstreamermm so that the test works now.
I think that the GST_OBJECT macro was flawed, causing it's custom wrap()
methods to fail. I have used G_OBJECT instead because I don't believe
that a GST_OBJECT would do anything useful, and there is no need for a
Gst::wrap() instead of Glib::wrap().

I must make some more changes to Gst::Object, to do the ref sink in all
of its constructors.


I am very disappointed that the other gstreamermm developers have not
been using the ChangeLog (and/or committing junk to the ChangeLog). You
must use the ChangeLog if you want me to help you.

--
murrayc murrayc com
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



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