deps-libff: Offset start of stream by start pts
Now that we're using the timestamps from the stream for playback, certain types of streams and certain file formats will not start from a pts of 0. This causes the start of the playback to be delayed. This code simply ensures that there's no delay on startup. This is basically the same code as used in FFmpeg itself for handling this situation.
Showing
想要评论请 注册 或 登录