<html><head></head><body>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><br><div class="gmail_quote">Le 20 mars 2019 00:45:19 GMT+08:00, Thomas Guillem <thomas@gllm.fr> 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">Like it's already done for aout_DecSilence().<hr> src/audio_output/dec.c | 4 ++++<br> 1 file changed, 4 insertions(+)<br><br>diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c<br>index ae686f2dc2..cae2068805 100644<br>--- a/src/audio_output/dec.c<br>+++ b/src/audio_output/dec.c<br>@@ -463,6 +463,7 @@ int aout_DecPlay(audio_output_t *aout, block_t *block)<br> owner->sync.rate);<br> /* Output */<br> owner->sync.discontinuity = false;<br>+ block->i_dts = block->i_pts;<br> aout->play(aout, block, play_date);<br> <br> atomic_fetch_add_explicit(&owner->buffers_played, 1, memory_order_relaxed);<br>@@ -552,7 +553,10 @@ void aout_DecDrain(audio_output_t *aout)<br> <br> block_t *block = aout_FiltersDrain (owner->filters);<br> if (block)<br>+ {<br>+ block->i_dts = block->i_pts;<br> aout->play(aout, block, vlc_tick_now());<br>+ }<br> <br> vlc_clock_Reset(owner->sync.clock);<br> aout_FiltersResetClock(owner->filters);</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>