[gst-devel] g_object_notify in filesrc
msmith at xiph.org
Tue Dec 21 20:03:05 CET 2010
On Tue, Dec 21, 2010 at 10:53 AM, Greg Wunder <gwunder at eoir.com> wrote:
> I have a pipeline I run as such:
> gst-launch filesrc location=C:/Test0001.jpg ! decodebin ! freeze !
> ffmpegcolorspace ! ppdet ! glimagesink
> I want ppdet to access the filesrc location parameter, but it doesn't appear
> that this is sent to the GstBus or as a GstEvent.
> How can I accomplish this?
That's correct - the filename in use isn't sent. The way GStreamer
works, elements downstream aren't supposed to know about _what_ is
providing the data - they just receive the data and process it.
You might equally be using a source that _doesn't_ read a file at all,
so there's no filename to use - so your element would be buggy if it
relied on this information, and that's why GStreamer doesn't provide
I don't know what your 'ppdet' element does - why do you want the
filename in use? You probably need to figure out a different way to
implement whatever you're doing.
More information about the gstreamer-devel