basetextoverlay: Fix bug with unused upstream_has_meta
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 2 Jul 2015 14:47:45 +0000 (10:47 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 2 Jul 2015 14:47:45 +0000 (10:47 -0400)
commit91f2f1874c5aab3bb54783d6060731d6f86c99b3
tree89a60e638c38d92bd333d43e199702e18bf2fb0f
parent828f0291bf5ec695bd5a81a4dc4d3c26b3f4f251
basetextoverlay: Fix bug with unused upstream_has_meta

The intention was to skip the allocation query if upstream has decided
to use the overlay meta feature in the caps. We can safely assume that
upstream have done that query already before making this decision. This
is an optimization since doing allocation queries is relatively
expensive.

CID #1308943
ext/pango/gstbasetextoverlay.c