[mythtv] frequent PlayBoxTransparency setting DB
lookup in mythvideo
J. Donavan Stanley
jdonavan at jdonavan.net
Tue Aug 17 17:50:00 EDT 2004
J. Donavan Stanley wrote:
> 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
>>> query:
>>>
>>> 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.
>
>
>
> 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.
Things should be MUCH better now with what I just checked in.
More information about the mythtv-dev
mailing list