]> git.kaiwu.me - nginx.git/commit
Mp4: fixed non-keyframe seeks in some cases (ticket #175).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 18 Jun 2012 14:01:18 +0000 (14:01 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 18 Jun 2012 14:01:18 +0000 (14:01 +0000)
commite1e2e2eb3a987de63efedc55f0abcda384d7eccc
treefd86ebc9bf2fee8642e349925f99cdf9faeb121c
parent0cf52376fbe5724f21a00f65639eb032fcb14e5f
Mp4: fixed non-keyframe seeks in some cases (ticket #175).

Number of entries in stsc atom was wrong if we've added an entry to
split a chunk.

Additionally, there is no need to add an entry if we are going to split
last chunk in an entry, it's enough to update the entry we already have.
Previously new entry was added and old one was left as is, resulting in
incorrect entry with zero chunks which might confuse some software.
src/http/modules/ngx_http_mp4_module.c