GNOME Bugzilla – Bug 736130
Video from Gstreamer not rendered inside GtkDialog
Last modified: 2014-10-06 13:10:12 UTC
Created attachment 285494 [details] test case video not appearing in dialog only in top level window When trying to use a GtkDialog as a video preview dialog Gstreamer appears not to be able to render video onto it. The video pipeline is running and reports no errors. This previously worked fine in Gtk+ 3.4.2 however both my Gtk version and Gstreamer versions have changed since last using this so the bug may be in Gstreamer rather than Gtk, from describing my problem in #gstreamer it sounds like it's more likely to be Gtk. Attached is a simplified test case.
When run with GTK_CSD=1, the rendering in the main window fails too. So I guess this is just gstreamer getting confused by csd-decorated windows
The problem is that Xvideo is not supporting the RGBA visual that we're using for CSD windows. On my system, xvinfo says: supported visuals: depth 24, visualID 0x20 which is the default RGB visual on my X server. But CSD windows use the RGBA visual with id 0x5e. Options: - explicitly create your own window with a supported visual - make gstreamer report an error about this situation - teach Xv about RGBA visuals
*** This bug has been marked as a duplicate of bug 721148 ***