[gst-devel] Can application get the dynamic information inside the element

Stefan Kost ensonic at hora-obscura.de
Fri Jan 23 23:13:39 CET 2009


Chen, Weian schrieb:
> Thanks you for your info.
> 
> My usage is to open the device in source element, and I want to control it in my application, but I can not open the device twice.
> 
> So what's your suggestion?
> 
> Weian
> -----Original Message-----
> From: Michael Smith [mailto:msmith at xiph.org] 
> Sent: 2009年1月22日 10:18
> To: Discussion of the development of GStreamer
> Subject: Re: [gst-devel] Can application get the dynamic information inside the element
> 
> On Wed, Jan 21, 2009 at 6:00 PM, Chen, Weian <weian.chen at intel.com> wrote:
>> Hi all:
>>
>> If the application wants to get the dynamic information inside an element
>> (such as the file handle opened by filesrc in runtime), how to do?
> 
Thats exactly when a file-descriptor 'fd' property can be used. Just look at
fdsrc element in core.

Stefan


> The element may expose things via properties.
> 
> For your specific question: filesrc does expose the fd it's using (via
> an 'fd' property), but it's almost certainly a bad idea to use that
> for any purpose. Why do you want to know that?

> 
> Mike
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list