applehttp: Do seeking within segments, too
authorPanagiotis H.M. Issaris <takis.issaris@uhasselt.be>
Tue, 10 Jan 2012 13:48:57 +0000 (14:48 +0100)
committerMartin Storsjö <martin@martin.st>
Sun, 19 Feb 2012 21:03:42 +0000 (23:03 +0200)
commit2b3d041cdc88fe556e61f70130a3a7eb024e0958
tree9f66b6684c1a9123dc7bf6d0d084ec95a8febe82
parent6b8b0fe2bc57fdd606074e52ba73cd9b3d95e644
applehttp: Do seeking within segments, too

Enhance seeking by demuxing until the requested timestamp is
reached within the segment selected by the seek code using the
playlist info.

Some mpegts streams don't have dts set for all packets though,
this seeking method doesn't work well for that case.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hls.c