Custom GstBin/GstElement for filtering purposes
CCob
ceri.coburn at gmail.com
Mon Oct 20 15:21:42 PDT 2014
On 20/10/14 22:13, CCob wrote:
>
> On 19/10/14 21:41, Olivier Crête wrote:
>> You may want to have a look at the autoconvert element which also
>> picks an element at runtime (but based on the caps, so even later).
>> You need to make sure that you link your element's src pad before the
>> sink pad.
>>
>
> I've taken a quick look, so am I correct in saying that the
> autoconvert doesn't even care about state changes, it simply waits for
> set caps before inserting the transform element and then the data is
> pushed to the transform from the parent bin's chain function?
>
> Thanks
I've tried linking my pads backwards, working from my bin's src ghost
pad to the video decoder src, which is then linked to my h264 stream
parsers src, which is then eventually linked on the other side to my
bin's sink ghost pad. I have also changed behavior so that it happens
during transition from NULL->READY instead of READY->PAUSED, but the
problem still occurs.
I should probably add that this is all done from inside decodebin2 which
is parented by playbin2.
Can data flow through pads from an element that is in the READY state?
Thanks
More information about the gstreamer-devel
mailing list