fpsdisplay: code cleanup and plug overlay as needed
authorStefan Kost <ensonic@users.sf.net>
Thu, 30 Apr 2009 10:45:30 +0000 (13:45 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 30 Apr 2009 10:48:07 +0000 (13:48 +0300)
commit1ae52725d92a3781dd605526d5f8e75bdebe337d
treed10f03503f53e88e5394643fa94bbcd44680d714
parentd3ac465ec1cbc439bf455da7e91c18cd759970af
fpsdisplay: code cleanup and plug overlay as needed

Pluggin the text-ovelay causes some slowdowns and might need a colorspace
converter. We now only check the text-overlay property whne goint to ready and
plug or unplug the text-overlay at that time. If the property changes during
playing, its not switched immediately.
gst/debugutils/fpsdisplaysink.c