Hi..
I just confused about the "Hello World " example in the gstreamer manual. I can see a pipeline and some elements are created in code. In the end the pipeline is unrefed , using the method gst_object_unref(pipeline). What what about the elements we created...? Its there and the reference count of the elements doesn't seems decremented.... In chapter 5.2 . its says we need to use gst-object_unref for elements also Regards, Lijin ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Thu, 2010-09-23 at 20:46 +0530, liJin wrote:
> I just confused about the "Hello World " example in the gstreamer > manual. I can see a pipeline and some elements are created in code. > In the end the pipeline is unrefed , using the method > gst_object_unref(pipeline). What what about the elements we > created...? Its there and the reference count of the elements doesn't > seems decremented.... > > In chapter 5.2 . its says we need to use gst-object_unref for > elements also if you use gst_bin_add (bin_or_pipeline, element); then the bin/pipeline will take ownership of the element (if it is a newly-created element) and will take care of freeing it when the pipeline is freed. Also see http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html#GstObject.description Cheers -Tim ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Great ...ThankS...
On Thu, Sep 23, 2010 at 9:06 PM, Tim-Philipp Müller <[hidden email]> wrote:
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Great ...ThankS...
On Thu, Sep 23, 2010 at 9:23 PM, liJin <[hidden email]> wrote: Great ...ThankS... ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |