Custom GstBin/GstElement for filtering purposes
Ceri Coburn
ceri.coburn at gmail.com
Sat Oct 25 01:30:29 PDT 2014
For anyone who may have this problem themselves. It was due to the
fact that GST_PLAY_FLAG_TEXT was being unset on playbin2's flags
during new stream notifications. Instead, I setup which streams the
frontend had requested after READY->PAUSED. This solved my problem.
On Mon, Oct 20, 2014 at 11:21 PM, CCob <ceri.coburn at gmail.com> wrote:
>
> 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