[vlc-commits] demux: asf: disable the use of extension pts for dvr-ms

Francois Cartegnie git at videolan.org
Mon Feb 13 17:23:11 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 13 17:20:43 2017 +0100| [c24b6726d943fc3cca9ed32c55fce397093ebf1b] | committer: Francois Cartegnie

demux: asf: disable the use of extension pts for dvr-ms

Breaks with offset pts recordings.
Better to stutter than not playing al all.
Until other solution is found.

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

 modules/demux/asf/asfpacket.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/asf/asfpacket.c b/modules/demux/asf/asfpacket.c
index e76332b..6b9ec27 100644
--- a/modules/demux/asf/asfpacket.c
+++ b/modules/demux/asf/asfpacket.c
@@ -343,12 +343,14 @@ static int DemuxPayload(asf_packet_sys_t *p_packetsys, asf_packet_t *pkt, int i_
         SkipBytes( p_demux->s, pkt->i_skip );
 
         mtime_t i_payload_pts;
+#if 0
         if( i_extension_pts != -1 )
         {
             i_payload_pts = i_extension_pts * 1000;
             b_ignore_pts = false;
         }
         else
+#endif
         {
             i_payload_pts = i_pkt_time + (mtime_t)i_pkt_time_delta * i_subpayload_count * 1000;
             if ( p_tkinfo->p_sp )



More information about the vlc-commits mailing list