gst_pad_new_from_template: assertion - gstvaapidecode

Nicolas Dufresne nicolas.dufresne at collabora.co.uk
Thu Feb 23 08:10:09 PST 2012


Le mercredi 22 février 2012 à 18:19 +0100, tomw a écrit : 
> Hi, 
> 
> after sorting out some library issues and moving to 0.10.36 I finally 
> got vaapi and ClutterGst work.
> The performance gain is amazing, reducing the CPU load for a HD-Video from 20% down to 2%.
> There is one issue however, which drives me nuts. The first video works fine, 
> as soon as load a new uri to the pipeline I'm getting a bunch of errors:
> 
> (python:30911): GStreamer-CRITICAL **: gst_pad_new_from_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
> (python:30911): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed
> (python:30911): GStreamer-CRITICAL **: gst_pad_set_getcaps_function: assertion `GST_IS_PAD (pad)' failed
> (python:30911): GStreamer-CRITICAL **: gst_pad_set_setcaps_function: assertion `GST_IS_PAD (pad)' failed
> (python:30911): GStreamer-CRITICAL **: gst_pad_set_chain_function: assertion `GST_IS_PAD (pad)' failed
> (python:30911): GStreamer-CRITICAL **: gst_pad_set_event_function: assertion `GST_IS_PAD (pad)' failed
> (python:30911): GStreamer-CRITICAL **: gst_pad_set_query_function: assertion `GST_IS_PAD (pad)' failed
> (python:30911): GStreamer-CRITICAL **: gst_element_add_pad: assertion `GST_IS_PAD (pad)' failed
> 

There is an upstream gstreamer-vaapi patch called "plugins: fix pad
template ref leaks.". It might be for that. (note upstream is on
gitorious git://gitorious.org/vaapi/gstreamer-vaapi.git)

cheers,
Nicolas



More information about the gstreamer-devel mailing list