Re: <gstmm.h> include errors



Milosz Derezynski wrote:
I think i found the problem, it was a missing reference (not) taken
when creating the element; i've fixed it in current gstreamermm trunk
SVN, although i might not have yet properly updated it with your patch
(we were moving our SVN around and i had problems committing).

Could you try with changing inside element.cg from:

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, false);
}

to:

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)

-- Milosz


Do I have to remove any *.cc files in gst/gstmm?  Thanks.

-Jose


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