[FFmpeg-devel] [PATCH 17/18] avformat/hls: do not care about stream start timestamps

Michael Niedermayer michaelni at gmx.at
Wed Jan 1 03:21:46 CET 2014


On Mon, Dec 30, 2013 at 01:14:31PM +0200, Anssi Hannula wrote:
> While selecting a packet to return to caller in read_packet(), the code
> corrects the timestamps for starting timestamps.
> 
> However, this is wrong, since for live streams the initial timestamps
> might differ just because of the time delay between the retrieval of the
> various Media Playlists.
> 
> Fortunately, spec 6.2.4 mandates that all variant streams must have
> matching timestamps, so we do not need to correct for initial
> timestamps.
> 
> Drop the correction code.
> 
> Note that ID3 and WebVTT MPEGTS timestamps were previously ignored, so
> this code was previously actually needed.

i assume that also older hls "protocol" versions didnt need this
if so patch LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140101/a86932d5/attachment.asc>


More information about the ffmpeg-devel mailing list