Thanks, it works now!<br>Just as you said I had to install "gstreamer1.0-plugins-base" to get a non NULL GstElement<br>and gstreamer1.0-* to be able to play media files.<br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Dec 17, 2012 at 4:30 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Mon, 2012-12-17 at 16:21 +0200, Jiergir Ogoerg wrote:<br>
<br>
Hi,<br>
<br>
> I'm using v1.0.3 and this line returns NULL:<br>
> GstElement *refPlay = gst_element_factory_make("playbin", NULL);<br>
> //refPlay is NULL<br>
><br>
> Same issue with "playbin2". But works fine with 0.10.<br>
> Can anyone please tell me what to do?<br>
><br>
> Using v1.0.3 on Ubuntu 12.10 amd64 installed thru a ppa, same issue<br>
> happens on Ubuntu 13.04.<br>
<br>
</div></div>Does<br>
<br>
gst-inspect-1.0 playbin<br>
<br>
work? (gst-inspect-1.0 is in the gstreamer1.0-tools package)<br>
<br>
Do you have gstreamer1.0-plugins-base installed?<br>
<br>
If not, perhaps try:<br>
<br>
sudo apt-get install gstreamer1.0-*<br>
<br>
Cheers<br>
-Tim<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>