aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ilbc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-07-29 10:09:02 +0300
committerMartin Storsjö <martin@martin.st>2013-07-29 20:15:50 +0300
commite1d5b244761cf69db655ad7ece1dbf2c13dd4fce (patch)
tree22afbbc8d99b806b86a7e2140a93d2a21fea6f70 /libavformat/ilbc.c
parent55c4cba2a7037161ea56b2d55b347c8381df7f1e (diff)
downloadffmpeg-e1d5b244761cf69db655ad7ece1dbf2c13dd4fce.tar.gz
hls: Store first_timestamp in units of AV_TIME_BASE
When first_timestamp was stored as-is, its actual time base wasn't known later in the seek function. Additionally, the logic (from 795d9594cfa) for scaling it based on stream_index is flawed - stream_index in the seek function only specifies which stream the seek timestamp refers to, but obviously doesn't say anything about which stream first_timestamp belongs to. In the cases where stream_index was >= 0 and all streams had the same time base, this didn't matter in practice. Seeking taking first_timestamp into account is problematic when one variant is mpegts (with real timestamps) and one variant is raw ADTS (with timestamps only being accumulated packet duration), where the variants start at totally different timestamps. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/ilbc.c')
0 files changed, 0 insertions, 0 deletions