[mythtv] frequent PlayBoxTransparency setting DB lookup
J. Donavan Stanley
jdonavan at jdonavan.net
Tue Aug 17 06:08:12 EDT 2004
J. Donavan Stanley wrote:
> 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
>> 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.
And the paint event is getting called waaaay to many times. The change
to MythThemedDialog must have changed how the drawing needs done. I'm
looking into it now.
More information about the mythtv-dev