]> git.sesse.net Git - vlc/commit
avcodec: split encoding chunks to frame_size portions
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 18 Dec 2012 14:00:30 +0000 (16:00 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 30 Dec 2012 11:24:26 +0000 (13:24 +0200)
commit6d6342b47ebfa8fdad36cbae84ab81fad8bdca9b
treeb579d92d320a6e7ed823603444ee2262ce32cb40
parent8c233c5182d8cd0dc0aa9e0aec6262ae0ef84ea3
avcodec: split encoding chunks to frame_size portions

avcodec contains codecs that don't like variable size frames, so feed
avcodec with frame_size chunks and and handle leftovers ourself. This
functionality was dropped when flushing was introduced and seemed to
work without just fine, I was proven wrong.
modules/codec/avcodec/encoder.c