Get outgoing caps in bin
Edgar Thier
edgar.thier at theimagingsource.com
Thu May 19 07:13:57 UTC 2016
Thank you for your replies. They are really helpful.
Just to make sure we are on the same page:
It should suffice to call 'gst_pad_set_activate_function()' for the ghostpad to get the correct caps.
Again, your help is very much appreciated. :)
On 05/19/2016 09:07 AM, Sebastian Dröge wrote:
> On Do, 2016-05-19 at 06:28 +0200, Edgar Thier wrote:
>>
>> For personal understanding, such a reconfiguration would always require a full stop of the pipeline,
>> am I correct?
>
> Yes, in theory it can also reconfigure at runtime but that is rather
> tricky because upstream renegotiation/reconfiguration is asynchronous
> and mostly a hint. You are not guaranteed to get what you want
> downstream, especially not immediately.
>
>> I hope that clears out all ambiguity.
>
> It does, yes :) I think the best for this would be to override the
> activatemode or activate function on the srcpad of the bin here, and in
> there do a CAPS query downstream to then decide on which internal
> elements to build.
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list