Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [PATCH] fix incomplete sections in streamdev-0.3.2-pre2 client



Rantanen Teemu wrote:
> 
> This small patch will fix (partial) section data corruption with
> streamdev-0.3.2-pre2. There is still a possibility for the pipe() to
> fill up (which is being used to simulate a section filter FD) and data
> corruption to happen, but it should happen quite rarely now.
> 
> http://cs78142198.pp.htv.fi/vdr-1.3.6-IncompleteSectionsWithStreamDev.di
> ff
> 
> This patch works with vdr-1.3.12 also.

A read() from a section filter file handle delivers one complete
section. I don't really like to have to fiddle around with pipes
here. If 'streamdev' delivers section data, just make it so that
it delivers one complete section at a time.

Klaus




Home | Main Index | Thread Index