basetextoverlay: properly fallback to non-overlay caps
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 1 Sep 2014 15:38:02 +0000 (12:38 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 1 Sep 2014 18:23:09 +0000 (15:23 -0300)
commita65b3073497fe92140d045561cc6808b789657d7
treecc1bcfecb943aa989cd1b58153f5dfac7a08be68
parentbe1b5b3de7954edea1186aca476d59ef1e42ad77
basetextoverlay: properly fallback to non-overlay caps

When downstream claims to accept the overlay meta but fails to
provide it in the allocation query, properly fallback to setting
a new caps without the overlay meta as that is not going to be used.

Only do this if the original caps doesn't have the overlay already,
otherwise there isn't much that can be done.

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