<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>On Wed, Mar 20, 2019, at 14:09, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div>Err? Is it safe to reset the clock before draining? Seems fishy even if it might accidentally work.<br></div></blockquote><div><br></div><div>It should be safe but I don't need this patch finally. I can setup gapless in place of aout_Drain()<br></div><div><br></div><blockquote type="cite" id="fastmail-quoted"><div><br></div><div class="fastmail-quoted-gmail_quote"><div>Le 20 mars 2019 00:45:18 GMT+08:00, Thomas Guillem <thomas@gllm.fr> a écrit :<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><pre class="fastmail-quoted-k9mail"><div><hr> src/audio_output/dec.c | 4 ++--<br></div><div> 1 file changed, 2 insertions(+), 2 deletions(-)<br></div><div><br></div><div>diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c<br></div><div>index d14218600b..ae686f2dc2 100644<br></div><div>--- a/src/audio_output/dec.c<br></div><div>+++ b/src/audio_output/dec.c<br></div><div>@@ -554,11 +554,11 @@ void aout_DecDrain(audio_output_t *aout)<br></div><div> if (block)<br></div><div> aout->play(aout, block, vlc_tick_now());<br></div><div> <br></div><div>- aout_Drain(aout);<br></div><div>-<br></div><div> vlc_clock_Reset(owner->sync.clock);<br></div><div> aout_FiltersResetClock(owner->filters);<br></div><div> <br></div><div> owner->sync.discontinuity = true;<br></div><div> owner->original_pts = VLC_TICK_INVALID;<br></div><div>+<br></div><div>+ aout_Drain(aout);<br></div><div> }<br></div></pre></blockquote></div><div><br></div><div>-- <br></div><div>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. <br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div>https://mailman.videolan.org/listinfo/vlc-devel<br></div></blockquote><div><br></div></body></html>