GNOME Bugzilla – Bug 460047
[x/xv] gst-launch lacks window border in composited environment
Last modified: 2007-10-28 17:30:58 UTC
gst-launch playbin uri=file://<path to movie on my disk> results in a borderless window. Or perhaps I should say, the borders etc aren't draw but they are still there (dragable and all). Moving the window also leaves a black trail on the desktop. Stuff like "xvimagesink.c(1197): gst_xvimagesink_handle_xevents " is printed so it might have somethig to do with XV in Composite.
This doesn't sound like a gstreamer bug, but rather an X bug.
Ok. I've only seen it with gst-launch though.
It could be the use of X in xvimagesink not entirely compatible with composited environment...
Other players (mplayer -vo xv, Totem with xine backend) seem to work fine in the same environment though. Though Totem with the GStreamer backend gives me a black window. You can make the video appear if you grab hold of the title bar, but as soon as you let go.... back to black. I was going to file a Totem bug about this (since at least the video shows up when running bare gst-launch)... what do you think?
Just to be clear, the whole window doesn't go black with Totem. Just the video part. Filed bug 460757 for this. Also, with gst-launch, the video appears correctly. It's just the window border that's borked (and the black trail thing when moving... but it's probably(?) the same problem).
Does this also happen with gst-launch-0.10 videotestsrc ! ximagesink ? Could you attach a debug log of: $ GST_DEBUG=xvimagesink:5 gst-launch-0.10 videotestsrc num-buffers=250 ! xvimagesink 2>dbg.log
I'm unable to run xorg's ati driver at the moment (I think randr1.2 is to blame) and have resorted to fglrx. In other words, no AIGLX. I'm hoping it will get fixed before the final release of Gutsy. Will try to answer your questions then.
So, any change with gutsy final?
Yes. The window borders are displayed properly now. Any theories as to why there was a problem with gst-launch and not Totem (GSTreamer backend) and mplayer?
Great, thanks for confirming. Guess this can be closed than. No idea what might have caused it.