Great ...ThankS...<img style="margin: 0pt 0.2ex; vertical-align: middle;" src="e/gtalk/328"><br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 9:23 PM, liJin <span dir="ltr"><<a href="mailto:lijinshyam@gmail.com">lijinshyam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Great ...ThankS...<img goomoji="gtalk.328" style="margin:0pt 0.2ex;vertical-align:middle" src="cid:gtalk.328@goomoji.gmail"><div>
<div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 9:06 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><div></div><div>On Thu, 2010-09-23 at 20:46 +0530, liJin wrote:<br>
<br>
> I just confused about the "Hello World " example in the gstreamer<br>
> manual. I can see a pipeline and some elements are created in code.<br>
> In the end the pipeline is unrefed , using the method<br>
> gst_object_unref(pipeline). What what about the elements we<br>
> created...? Its there and the reference count of the elements doesn't<br>
> seems decremented....<br>
><br>
> In chapter 5.2 . its says we need to use gst-object_unref for<br>
> elements also<br>
<br>
</div></div>if you use<br>
<br>
gst_bin_add (bin_or_pipeline, element);<br>
<br>
then the bin/pipeline will take ownership of the element (if it is a<br>
newly-created element) and will take care of freeing it when the<br>
pipeline is freed. Also see<br>
<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html#GstObject.description" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html#GstObject.description</a><br>
<br>
<br>
Cheers<br>
-Tim<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Nokia and AT&T present the 2010 Calling All Innovators-North America contest<br>
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada<br>
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing<br>
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store<br>
<a href="http://p.sf.net/sfu/nokia-dev2dev" target="_blank">http://p.sf.net/sfu/nokia-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>