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

Chen, Weian weian.chen at intel.com
Thu Jan 22 03:54:34 CET 2009


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?

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


More information about the gstreamer-devel mailing list