<html><head></head><body>Boolean to boolean conversion...<br><br><div class="gmail_quote">Le 2 septembre 2019 07:51:38 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2019-09-01 18:53, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Le vendredi 30 août 2019, 09:26:53 EEST Steve Lhomme a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> @@ -1084,12 +1083,11 @@ static void DecoderUpdateStatVideo( struct<br> decoder_owner *p_owner, static void DecoderQueueVideo( decoder_t *p_dec,<br> picture_t *p_pic ) {<br> assert( p_pic );<br> - unsigned i_lost = 0;<br> struct decoder_owner *p_owner = dec_get_owner( p_dec );<br><br> - DecoderPlayVideo( p_owner, p_pic, &i_lost );<br> + int success = DecoderPlayVideo( p_owner, p_pic );<br><br> - p_owner->pf_update_stat( p_owner, 1, i_lost );<br> + p_owner->pf_update_stat( p_owner, 1, success != VLC_SUCCESS ? 1 : 0 );<br></blockquote>This is still redundant all the same.<br></blockquote><br>I don't see what is redundant here. You have to transform the error code <br>into the number of lost frames.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> }<br><br> static int thumbnailer_update_format( decoder_t *p_dec )<br></blockquote><br>-- <br>Rémi Denis-Courmont<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>