sys/xvimage/xvimagesink.*: After a caps change, redraw our borders to avoid garbage...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Jul 2007 16:05:17 +0000 (16:05 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Jul 2007 16:05:17 +0000 (16:05 +0000)
commit476361497d98aae2137431c2117a9cad02a75f2a
tree24901a8745fe493c1afc5f7ba3c47842a720a8d8
parent2b8d07bac00e66ac47afcfa178d1a2939206bdc2
sys/xvimage/xvimagesink.*: After a caps change, redraw our borders to avoid garbage left there when the image format ...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_setcaps):
* sys/xvimage/xvimagesink.h:
After a caps change, redraw our borders to avoid garbage left there
when the image format changes to a smaller size, like 16:9 -> 4:3
Also, hold the flow_lock a bit longer in the set_caps while we're
fiddling with the xcontext.
ChangeLog
sys/xvimage/xvimagesink.c
sys/xvimage/xvimagesink.h