gstreamer/ext/pango
Chris Shoemaker 6bd90dc0cc clockoverlay: only rerender text if time string has changed
The textoverlay element will rerender the text string whenever
overlay sets the 'need_render' flag to TRUE.  Previously, we
lazily set the flag to TRUE every time the time string was requested.
Now, we save a copy of the previously given string, and only set
'need_render' to TRUE if the string has changed.

In my tests with a 30fps video stream, and a time string including
a seconds field, this change reduced the CPU usage of the clockoverlay
element from 60% to 5%.

Fixes bug #627780.
2010-08-24 09:29:33 +02:00
..
gstclockoverlay.c clockoverlay: only rerender text if time string has changed 2010-08-24 09:29:33 +02:00
gstclockoverlay.h clockoverlay: only rerender text if time string has changed 2010-08-24 09:29:33 +02:00
gsttextoverlay.c textoverlay: add NV12 support 2010-08-24 09:25:55 +02:00
gsttextoverlay.h textoverlay: configurable text color and position 2010-08-09 09:49:12 +02:00
gsttextrender.c pango: Unpremultiply Cairo's ARGB to match GStreamers ARGB 2009-10-01 11:41:16 +02:00
gsttextrender.h pango: Use pango-cairo instead of pango-ft2 2009-08-06 06:43:36 +02:00
gsttimeoverlay.c pango: Some minor cleanup 2009-08-06 06:43:36 +02:00
gsttimeoverlay.h Updated/added documentation. 2006-03-01 16:24:37 +00:00
Makefile.am Don't install static libs for plugins. Fixes #550851 for base. 2008-10-16 15:07:00 +00:00