After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736130 - Video from Gstreamer not rendered inside GtkDialog
Video from Gstreamer not rendered inside GtkDialog
Status: RESOLVED DUPLICATE of bug 721148
Product: gtk+
Classification: Platform
Component: Backend: X11
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-09-05 13:24 UTC by Michael Wood
Modified: 2014-10-06 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case video not appearing in dialog only in top level window (4.02 KB, text/plain)
2014-09-05 13:24 UTC, Michael Wood
Details

Description Michael Wood 2014-09-05 13:24:00 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.
Comment 1 Matthias Clasen 2014-09-06 16:04:25 UTC
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
Comment 2 Matthias Clasen 2014-09-06 17:03:16 UTC
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
Comment 3 Tim-Philipp Müller 2014-10-06 13:10:12 UTC

*** This bug has been marked as a duplicate of bug 721148 ***