textoverlay: use a class wide mutex to work around pango reentrance issues
authorStefan Kost <ensonic@users.sf.net>
Mon, 14 Mar 2011 09:14:04 +0000 (11:14 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 14 Mar 2011 09:17:10 +0000 (11:17 +0200)
commit9ac74c59db5b2cb7090b9e18fda1894c8511e881
tree6b8fdd140b4442e5b9f656d682ecb4e552ef291d
parent3294ecda7d8d869b7dd945f3893de0c81be59002
textoverlay: use a class wide mutex to work around pango reentrance issues

Pango is not reentrant. Use a class wide mutex to protect pange use in
gst_text_overlay_render_pangocairo(). This works reliable in contrast to the
hack in my previous commit.

Fixes Bug #412678
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h