GNOME Bugzilla – Bug 554533
[xvimagesink] allow setting colorkey if possible
Last modified: 2008-10-22 12:25:42 UTC
it would be nice if the application can choose an own colorkey if the application intends to do own handling of the colorkeying anyway.
Created attachment 119708 [details] [review] allow setting the color key and use property probe to test if it is available The patch adds property probe interface for the atom based properties. This way one can query after the element is in READY, wheter setting the property would actually have effect. Not sure how if GstPropertyProbe is the est way to do this though. It returns NULL for the arry if the property is not available. If it is available it returns a list containing TRUE/FALSE for boolean properties and a int-range for the color-key. And comments? The patch also updates the test application.
*** Bug 545288 has been marked as a duplicate of this bug. ***
2008-10-22 Stefan Kost <ensonic@users.sf.net> * sys/xvimage/xvimagesink.c: * sys/xvimage/xvimagesink.h: * tests/icles/Makefile.am: * tests/icles/test-colorkey.c: Allow setting colorkey if possible. Implement property probe interface for optional X features (autopaint-colorkey, double-buffer and colorkey). Fixes #554533