<html><head></head><body>This seems very backward. We already have reuse handling in the resource code, and it's unavoidable there to support cross-input or cross-ES reuse. So I don't think the decoder should duplicate functionality.<br><br><div class="gmail_quote">Le 21 octobre 2019 16:12:27 GMT+03: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">It will assert from the missing sys->display.<br><br>We don't need to cancel a pool since the display is not started, we could never<br>use the pool anyway.<hr> src/input/decoder.c | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/src/input/decoder.c b/src/input/decoder.c<br>index f979fca5e1f..2d8fb57736c 100644<br>--- a/src/input/decoder.c<br>+++ b/src/input/decoder.c<br>@@ -870,7 +870,7 @@ static void DecoderThread_AbortPictures( decoder_t *p_dec, bool b_abort )<br> struct decoder_owner *p_owner = dec_get_owner( p_dec );<br> <br> vlc_mutex_lock( &p_owner->lock ); // called in DecoderThread<br>- if( p_owner->p_vout != NULL )<br>+ if( p_owner->p_vout != NULL && p_owner->vout_thread_started)<br> vout_Cancel( p_owner->p_vout, b_abort );<br> vlc_mutex_unlock( &p_owner->lock );<br> }</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>