hls: Store all durations in AV_TIME_BASE
authorMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 07:26:02 +0000 (10:26 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 17:15:50 +0000 (20:15 +0300)
commitc44191039944526dd7eb6e536990b555837961f5
treee5452a60aa0b9bd70baec0320af2f6e97204bba0
parente1d5b244761cf69db655ad7ece1dbf2c13dd4fce
hls: Store all durations in AV_TIME_BASE

Also parse segment durations as floating point, which is allowed
since HLS version 3.

This is based on a patch by Zhang Rui.

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