[vlc-devel] Video quality patches for vlc (based on 0.9.8a)
Derk-Jan Hartman
hartman at videolan.org
Fri Apr 10 15:29:01 CEST 2009
On 9 apr 2009, at 20:09, Bryan Moore wrote:
>
> FIX #1: frame buffer size
>
> modules/demux/live555.cpp file, function 'SessionsSetup',
> assignments to 'tk->' members: use 'i_buffer' in lieu of hard-coded
> 65536 for initial buffer size.
>
> // Airgain begin - increase video buffer to 'i_buffer' bytes (see
> above)
> // tk->i_buffer = 65536;
> // tk->p_buffer = (uint8_t *)malloc( 65536 );
> tk->i_buffer = i_buffer;
> tk->p_buffer = (uint8_t *)malloc( i_buffer );
> // Airgain end
This seems incorrect. The i_buffer variable holds the value of the
what liveMedia should buffer internally (increaseReceiveBufferTo() ) ,
it does not represent the size of the buffer (tk->p_buffer) in which
the results of liveMedia are passed to VLC.
DJ
More information about the vlc-devel
mailing list