<html><head><style type="text/css">body, p, li { font-family: 'Nokia Pure', 'Nokia Standard', sans-serif; }</style></head><body><div id="fenix-user-content">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Not sure DecoderProcess can be called from outside the decoder thread...?</p></div><br><div id="fenix-reply-header"><p>16/07/11 05:30, Rafaël Carré a écrit :<br></p></div><div id="fenix-quoted-body">There might be a buffer still stored in packetizer buffers<br><br>refs: #3178<br>---<br> src/input/decoder.c |    4 ++++<br> 1 files changed, 4 insertions(+), 0 deletions(-)<br><br>diff --git a/src/input/decoder.c b/src/input/decoder.c<br>index bf09978..fb274e0 100644<br>--- a/src/input/decoder.c<br>+++ b/src/input/decoder.c<br>@@ -352,6 +352,10 @@ void input_DecoderDelete( decoder_t *p_dec )<br> <br>     vlc_cancel( p_owner->thread );<br> <br>+    /* process last packet */<br>+    if( !p_dec->b_error )<br>+        DecoderProcess( p_dec, NULL );<br>+<br>     /* Make sure we aren't paused/buffering/waiting/decoding anymore */<br>     vlc_mutex_lock( &p_owner->lock );<br>     const bool b_was_paused = p_owner->b_paused;<br>-- <br>1.7.4.1<br><br><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br>http://mailman.videolan.org/listinfo/vlc-devel<br></div><br></body></html>