video: overlay-composition: some minor clean-ups
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 24 Mar 2012 19:47:10 +0000 (19:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Mar 2012 10:27:24 +0000 (11:27 +0100)
commit32679e1826267a7b63a69bfbc7f0f4c9c6addb15
treedcf98f81e26b7047c456941e8918f11490f55eae
parent9d1b331004bb1d6dba91eaea294af6adcadc29a3
video: overlay-composition: some minor clean-ups

extract_alpha and apply_global alpha always return TRUE really,
so just do away with the return value. Convert a g_return_if_fail()
into a g_assert(), since this is only to check internal consistency
and not a guard for public API. Add some locking.

https://bugzilla.gnome.org/show_bug.cgi?id=668483
gst-libs/gst/video/video-overlay-composition.c