[mythtv] MythMusic After CVS 2005.01.25 Uses Excessive X Resources
ijr at case.edu
Tue Feb 1 13:12:15 EST 2005
On Tuesday 01 February 2005 12:43 pm, Paul Bender wrote:
> Paul Bender wrote:
> > Ed Wildgoose wrote:
> >> Mind you I missed the part where you said it was X resource usage
> >> which was high... Not sure then really...
> >> Good luck
> > Thanks.
> > I noticed something.
> > At the same time that MythMusic started using X excessively, the display
> > stopped showing the bitrate. Looking at mythmusic/playbackbox.cpp, I
> > noticed that the bitrate is not displayed if it exceeds 2000kbps (a hack
> > for CDs). Removing this conditional and recompiling, I saw that the
> > bitrate is now 44100kbps rather than the pre-decoded bit rate (~192kbps).
> > Is is possible that the update rate of the display is linked to the
> > bitrate? If so, then a higher bit rate would result in more updates and
> > higher X usage.
> > Anyway, I will keep looking into it.
> I added a counter to the display that increments with each update of
> Info. During a an approximately 3:00 minute song, the counter
> incremented approximately 7692 times. That is, it increments
> approximately 43 times per second (which is very close to 44.1). This
> seems far too often for the information that is being reported.
Yup. I'll have a fix in CVS tonight.
More information about the mythtv-dev