[vlc-commits] demux: timestamps_filter: always use new pcr offset for spu

Francois Cartegnie git at videolan.org
Mon Jan 27 22:56:17 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 24 15:26:19 2020 +0100| [0bffc63671728c174d69463de1be9fd721447a21] | committer: Francois Cartegnie

demux: timestamps_filter: always use new pcr offset for spu

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bffc63671728c174d69463de1be9fd721447a21
---

 modules/demux/timestamps_filter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/timestamps_filter.h b/modules/demux/timestamps_filter.h
index b1ede95c47..5fc6b9326b 100644
--- a/modules/demux/timestamps_filter.h
+++ b/modules/demux/timestamps_filter.h
@@ -266,7 +266,7 @@ static int timestamps_filter_es_out_Send(es_out_t *out, es_out_id_t *id, block_t
     }
     else /* PCR had discontinuity, we're in a new segment */
     {
-        if(cur->tf.mva.i_packet == 1)
+        if(cur->tf.mva.i_packet == 1 || !cur->contiguous)
         {
           cur->tf.sync.stream = p_sys->pcrtf.sync.stream;
           cur->tf.sync.contiguous = p_sys->pcrtf.sync.contiguous;



More information about the vlc-commits mailing list