Mailing List archive

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

[vdr] Re: VDR 1.3.12 buffer optimizations and streamdev compile error



"C.Y.M." wrote:
> 
> >
> > Well, I cant get streamdev to compile without defining
> > RESULTBUFFERSIZE.  Im
> > no expert, so perhaps someone with more programming skill can
> > give us an
> > evaluation. Would it be a problem to just put the define back
> > in remux.h
> > instead of moving it to remux.c?
> >
> 
> Until we can find a better solution, I just moved this code back to remux.h
> and commented it out of remux.c:
> 
> // The minimum amount of video data necessary to identify frames:
> #define MINVIDEODATA (16*1024) // just a safe guess (max. size of any frame
> block, plus some safety)
> 
> #define RESULTBUFFERSIZE (MINVIDEODATA * 4)
> 
> Everything seems to be working as before now. Thanks.


Actually RESULTBUFFERSIZE only has a real meaning for cRemux.
If 'streamdev' needs such a value, maybe it should rather define
one of its own.

Klaus




Home | Main Index | Thread Index