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? Thanks in advanced. Weian ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, Jan 21, 2009 at 6:00 PM, Chen, Weian <[hidden email]> 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? 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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:[hidden email]] 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 <[hidden email]> 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? 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 [hidden email] 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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:[hidden email]] > 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 <[hidden email]> 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? > 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 > [hidden email] > 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |