Minor Rusty blockage

Sebastian Dröge sebastian at centricular.com
Fri Mar 2 18:53:14 UTC 2018


On Fri, 2018-03-02 at 17:34 +0000, Russel Winder wrote:
> 
> Now on to dealing with the various source events of the playbin to
> get the gtksink overlaid and not creating a new window – assuming the
> strategy in C++ is still the right strategy of course :-)

If you use gtk(gl)sink, you don't need to do anything other than what
the code I linked is doing. No events, no nothing, just setting some
properties. It also will never open its own window.

If you want to go the other way like you probably did in C++ with using
the GstVideoOverlay interface, see
  https://github.com/sdroege/gstreamer-rs/blob/0.10/examples/src/bin/gtkvideooverlay.rs

> Thanks for the commentary, it makes the code meaningful – I wasn't
> really comprehensing some of the code till your comments.

Feel free to send patches / PRs for the examples (to add comments) or
improve the documentation :)

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180302/41517d4a/attachment.sig>


More information about the gstreamer-devel mailing list