]> git.sesse.net Git - vlc/commit
transcode: keep in track of input pts drift for video
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 23 May 2014 12:04:55 +0000 (15:04 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 23 May 2014 12:07:13 +0000 (15:07 +0300)
commit991d2ebf6edf186f22280c268f720047f0d6564c
tree6db0172bfbc83c437e74076225edbac22a618331
parenta90263be45d912f0146d68cd2336a96fe2ba5aa8
transcode: keep in track of input pts drift for video

Also name it to be next_input_pts instead of interpolated_pts

If input drift is more than 100ms that we estimate, we have most
likely dropped some packet and we should reset timers. Otherwise
it can cause lipsync issues if we for example just transcode video
track and audio track keeps original (jumped) pts.
modules/stream_out/transcode/audio.c
modules/stream_out/transcode/transcode.h
modules/stream_out/transcode/video.c