[vlc-devel] [PATCH 1/3] Fix problem that the very first character of the RSS display is omitted

Steve Lhomme robux4 at ycbcr.xyz
Mon Jul 20 09:15:47 CEST 2020


Hi,

This does not seem coherent with the rest of the code.
The same variable is left initialized differently in the Open(). (maybe 
a function to reinitialized the same variables would be nice)

There's also a test on "p_sys->i_cur_char == 0" which will not be 
working anymore after this change.

On 2020-07-18 4:03, Daniel Glaas wrote:
> Fix problem that the very first character of the RSS
> display is omitted
> 
> The variable p_sys->i_cur_char is used to track how many chars shall be 
> left
> out when printing a title into the display buffer.
> If this variable is initialized to zero, then in the very first 
> iteration it
> is already set to 1 in function *Filter. This then leads to the effect that
> the very first char is never printed.
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list