<!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:11, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div>Yes, but what's the point? The fact that there's a DTS is just an unfortunate wart of the merge of aout_buffer_t and block_t. Audio outputs should never use the DTS, AFAIR.<br></div></blockquote><div><br></div><div>OK.<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:19 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>Like it's already done for aout_DecSilence().<hr> src/audio_output/dec.c | 4 ++++<br></div><div> 1 file changed, 4 insertions(+)<br></div><div><br></div><div>diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c<br></div><div>index ae686f2dc2..cae2068805 100644<br></div><div>--- a/src/audio_output/dec.c<br></div><div>+++ b/src/audio_output/dec.c<br></div><div>@@ -463,6 +463,7 @@ int aout_DecPlay(audio_output_t *aout, block_t *block)<br></div><div> owner->sync.rate);<br></div><div> /* Output */<br></div><div> owner->sync.discontinuity = false;<br></div><div>+ block->i_dts = block->i_pts;<br></div><div> aout->play(aout, block, play_date);<br></div><div> <br></div><div> atomic_fetch_add_explicit(&owner->buffers_played, 1, memory_order_relaxed);<br></div><div>@@ -552,7 +553,10 @@ void aout_DecDrain(audio_output_t *aout)<br></div><div> <br></div><div> block_t *block = aout_FiltersDrain (owner->filters);<br></div><div> if (block)<br></div><div>+ {<br></div><div>+ block->i_dts = block->i_pts;<br></div><div> aout->play(aout, block, vlc_tick_now());<br></div><div>+ }<br></div><div> <br></div><div> vlc_clock_Reset(owner->sync.clock);<br></div><div> aout_FiltersResetClock(owner->filters);<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>