subtitleoverlay: Refactor autoplugging code and select overlay element by rank too
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 13 Dec 2011 12:20:24 +0000 (13:20 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 13 Dec 2011 12:31:03 +0000 (13:31 +0100)
commit87a4cbd0e3ec663a4ddcd3dfbe9fef872559bbc1
treed5b6647d252fec195b618809f10722dd28fc127b
parent739de5fbf96da4bc4387d4970e275d3d44a2dce7
subtitleoverlay: Refactor autoplugging code and select overlay element by rank too

Previously we always used textoverlay for rendering the output of
a parser, now the same code as for the renderers is used and the
element with the highest rank is used.

Fixes bug #663822.
gst/playback/gstsubtitleoverlay.c