Rust Transform gstreamer::Bin in a gstreamer::Pipeline

Guillaume Desmottes guillaume at desmottes.be
Fri Oct 7 11:28:03 UTC 2022


On 7/10/22 13:21, Mariana Assis via gstreamer-devel wrote:
> Hi!
>
> Is there any way to safely transform a gstreamer::Bin in a 
> gstreamer::Pipeline in Rust?
>

Hi Marina,


Yes, you can use downcast or downcast_ref

https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/object/trait.Cast.html#method.downcast


     G.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221007/8ca94936/attachment.htm>


More information about the gstreamer-devel mailing list