[mythtv] tracking the cause of channel change slowness

Daniel Kristjansson danielk at cuymedia.net
Sun Feb 19 23:56:59 UTC 2006


On Sun, 2006-02-19 at 15:58 +0200, Pekka Jääskeläinen wrote:

> The calls to av_find_stream_info() and to ScanStreams() together take
> around 3-4 secs of the channel change time.

av_find_stream_info() could be waiting on data, but I can't think
of any reason why ScanStreams() would take that long. You should
profile that function to see what exactly is taking so long. It
may be waiting on something from the kernel so make sure you
include the kernel in your profile (there is a guide to using
oprofile with MythTV in the doxygen developer documentation.)

-- Daniel



More information about the mythtv-dev mailing list