[mythtv] frequent PlayBoxTransparency setting DB lookup in mythvideo

J. Donavan Stanley jdonavan at jdonavan.net
Tue Aug 17 05:27:29 EDT 2004

Brad Fritz wrote:

>Using CVS from 8/15/04...
>While experimenting with mythvideo this evening, I noticed that
>after selecting "Browse Videos" there is a loop that runs this
>  SELECT data
>  FROM settings
>  WHERE value = 'PlayBoxTransparency'
>  AND hostname = 'mythfe00'
>continuously at a rate of several times per second.
>  brad at boxer:~$ grep -c SELECT.*PlayBoxTransparency /var/log/mysql.log; \
>  > sleep 30; \
>  > grep -c SELECT.*PlayBoxTransparency /var/log/mysql.log
>  15515
>  15762
>Are others seeing this behavior?  If so, is it a bug or a feature?
>Here's a backtrace of the thread that seems to be causing it:

It's caused by UIImageType::LoadImage being called every time a paint 
message goes through.  I'm working on optimizing how images are handled 
in MythVideo this morning.

More information about the mythtv-dev mailing list