How to access file descriptor from a file sink (plugin)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to access file descriptor from a file sink (plugin)

ericcardmanNo3
I think for the experts it should be easy to answer this question:

How can i access the file descriptor from a file source that is connected to the sink pad of my
plugin filter? I need to pass the file descriptor created by file source to the decoder api.

Any idea how to access the fd?

BR,
eric.
Reply | Threaded
Open this post in threaded view
|

Re: How to access file descriptor from a file sink (plugin)

ericcardmanNo3
I know the "fd" property - but i do not know how to call g_object_get(..) to receive this
property from the instance that holds the file descriptor. How can i tell to use as GObject the one that is connected to my sink pad?

thx,

eric.