This commit is based on commit35c8580from Anton Khirnov <anton@khirnov.net> which was skipped inb8945c4. The avcodec_copy_context() call in the encode path is left in place for now as AVStream.codec is apparently still required even after porting ffmpeg to the new bsf API. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
157 KiB
157 KiB