Re: <gstmm.h> include errors
- From: Murray Cumming <murrayc murrayc com>
- To: Milosz Derezynski <internalerror gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: <gstmm.h> include errors
- Date: Sun, 18 Nov 2007 13:08:34 +0100
On Sun, 2007-11-18 at 02:28 +0100, Milosz Derezynski wrote:
> Glib::RefPtr<Element>
> Element::create(const Glib::ustring& factoryname, const Glib::ustring& name)
> {
> GstElement * element = gst_element_factory_make(factoryname.c_str(),
> name.c_str());
> return wrap(element, true);
> }
>
> (Note the change at wrap() from false to true)
Although the documentation
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElementFactory.html#gst-element-factory-make
is not explicitly clear about this, newly-created instances usually
provide a reference already.
This should be added as a test or example so we can investigate it
properly.
You said that svn had moved. Where to?
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]