basetextoverlay: Receive window size event and adjust rendering
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
Wed, 25 Mar 2015 13:10:10 +0000 (14:10 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Mon, 20 Jul 2015 19:09:22 +0000 (15:09 -0400)
commit91a615fa89f5b18c77ef4e485c65e21bc5711d91
treef19b43d6ed16c54ac103d46dea406f798fe664cc
parentf12866683443a2b2d48b950b256f22de387a147d
basetextoverlay: Receive window size event and adjust rendering

* cache window size event and update handle ratio
* init width with 1, don't use 0
* don't update overlay when receiving same window size
* receive window size from allocation query

https://bugzilla.gnome.org/show_bug.cgi?id=751157
ext/pango/gstbasetextoverlay.c
ext/pango/gstbasetextoverlay.h