commit | c6e926eec4790e3183c6e812efaf9c816d7549bd | [log] [tgz] |
---|---|---|
author | Leena Winterrowd <lenhardw@codeaurora.org> | Fri Aug 23 16:21:21 2013 -0700 |
committer | Leena Winterrowd <lenhardw@codeaurora.org> | Fri Aug 23 16:21:21 2013 -0700 |
tree | 8cbf23fa651b1426f7194e7bc27c1a3ec601a17d | |
parent | c47d84727979208b9e073b8304a3603c05b910ee [diff] |
mm-video: vidc: Fix frameparser behavior on EOS with data The frameparser currently holds back any bytes that may be part of the next frame's start code. In general, this results in frames ending in 0x00 or 0x00,0x00 being marked as partial and properly flushed on the next parse_sc_frame call. If an EOS is received with data, this flush never occurs. In that case, this change copies the missing bytes to the destination frame. Change-Id: Ia7f1d795b2459da86f1bf6cdb5f8ca8e21c306bd