]> git.sesse.net Git - vlc/commit
demux: asf: use send time as base time for pcr (fix #6662, #8795)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 9 Nov 2013 11:43:48 +0000 (20:43 +0900)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 7 Dec 2013 18:09:44 +0000 (19:09 +0100)
commit8e7a55dd83d08f0ff637188d0ae7c4562a90a592
tree52ae145b907eadb379b6726fe22df5f3319c9e76
parent882f2d61180be43b54e3639d120f318b79fc9303
demux: asf: use send time as base time for pcr (fix #6662, #8795)

Using lowest PTS or DTS is a bad idea, as lower video packets are sent
ahead of pts, and most audio tracks are sending packets near to pts.
So we had audio packets coming late, with a lower pts, and corrupted
our PCR as we take the lowest pts among tracks.
We can't also guess the full tracks rolls, so updating after a full
roll instead of each packet is useless.
Send time is a reliable base time.
modules/demux/asf/asf.c