[mythtv] ivtv buffer overflow

Isaac Richards ijr at case.edu
Mon Dec 12 12:21:09 EST 2005


On Monday 12 December 2005 01:07, Geoffrey Kruse wrote:
> Isaac,
>
> This is in response to the post you made today on the ivtv-devel list:
>
> I have been experiencing problems with corrupt ivtv recordings and
> the buffer overflow messages since around September.  I thought that
> these were linked to an ivtv upgrade, but now that I look at the
> commit date of the bufferSize changes (09/21/05) in
> mpeg_recorder.cpp, it looks like this corresponds almost exactly with
> the start of my corruption.  I have changed the bufferSize to 32768
> as you suggested on ivtv-devel and I am currently recompiling to test
> the results.  I notice that prior to this change, the bufferSize was
> 256,000.  What is the reason for such a drastic reduction, it wasn't
> mentioned in the commit message.  Would setting it back to 256,000 be
> better than 32768?  I'll play around with it a bit and let you know
> the results.

Smaller reads make ivtv more responsive on channel changes & startup.

Isaac


More information about the mythtv-dev mailing list