[mythtv] ringbuffer.cpp

Jean-Yves Avenard jyavenard at gmail.com
Wed Feb 19 03:56:47 UTC 2014


Ok guys...

I think this one is the one:
https://code.mythtv.org/trac/attachment/ticket/12045/12045-try2.diff

and this as remove all stuttering in liveTV too; I'm starting to think
that we could even remove the added delay when starting a new program
or changing channel as those were probably just work around the actual
issue.


On 19 February 2014 13:28, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> On 19 February 2014 13:24, Paul Kendall <pkendall64 at gmail.com> wrote:
>
>> Have you considered that the problem may be that we are flushing with
>> fdatasync and the metadata not being flushed may be causing the problem for
>> the reader thread?
>> It would be s simple thing to try by changing sync to a full sync.
>
> I didn't consider it no...
>
> What I'm currently attempting is first retrieving the size of the file
> via fstat; and never attempt to read more than what the file is...
>
> But reading the manpage of fdatasync, in our scenario, it shouldn't
> make a difference as the file size *is* modified...
>
> it more and more smell like a linux filesystem handling issue; and
> we're just trying to find a way around the problem


More information about the mythtv-dev mailing list