]> git.kaiwu.me - nginx.git/commit
Mp4: fix seeks after the last key frame.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 29 Jan 2014 09:30:36 +0000 (13:30 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 29 Jan 2014 09:30:36 +0000 (13:30 +0400)
commit870733ebd6275ac917d1a517760cd1c283870c59
treeb20682bfdc44e44ae30c69fc2000e16b680c7c3e
parentc94c24b1773e39e610ad81e46872fc2a58c7a88d
Mp4: fix seeks after the last key frame.

Mp4 module does not allow seeks after the last key frame.  Since
stss atom only contains key frames it's usually shorter than
other track atoms.  That leads to stss seek error when seek
position is close to the end of file.  The fix outputs empty
stss frame instead of generating error.
src/http/modules/ngx_http_mp4_module.c