videomixer: fix warnings when using transparent background
authorTim-Philipp Müller <tim@centricular.net>
Tue, 25 Sep 2012 20:21:15 +0000 (21:21 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 25 Sep 2012 22:31:34 +0000 (23:31 +0100)
commit626e0258e32c6354de3fef180f9753ac5bb12870
treea13f108b877859cce52a5a02de49f5f5536e265f
parent03e5376827b216ed726a6f73542bb19a6b51e9d7
videomixer: fix warnings when using transparent background

gst_video_frame_map() increases the refcount, which makes
the buffer not writable any more technically, so calling
gst_buffer_memset() on it will cause nasty warnings.

Unit test disabled because it very rarely (for me)
fails, possibly negotiation-related.

https://bugzilla.gnome.org/show_bug.cgi?id=684398
gst/videomixer/videomixer2.c
tests/check/pipelines/simple-launch-lines.c