playbin visualisations window reparenting with GTK+

James Cameron quozl at laptop.org
Wed Sep 19 07:58:39 UTC 2018


In a Python, GStreamer with GTK+ 3 application, how can I capture and
reparent the playbin visualisation window?

At the moment, when I set flags to 0x8, the visualisation appears but
in a separate window.

Here's where I create the playbin and handle any videosink window; it
works fine for video content.

https://github.com/sugarlabs/jukebox-activity/blob/master/player.py#L60

Sugar is child-oriented software for learning, and we use it on One
Laptop per Child devices.  The Jukebox app is a generic audio and
video player.

-- 
James Cameron
http://quozl.netrek.org/


More information about the gstreamer-devel mailing list