]> git.sesse.net Git - ffmpeg/commit
libx264: Add option to force IDR frames
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 18 Aug 2015 20:39:01 +0000 (17:39 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 18 Aug 2015 20:40:36 +0000 (17:40 -0300)
commitc981b1145a857c8f962c93b8eecb1c613b20ffe9
tree3a5243c3e50f5dbf45860d62d0ae76330e9a6145
parent87068ea5c5c800ff9bf1c3fa83665f63b07a7951
libx264: Add option to force IDR frames

Currently, when forcing an I frame, via API, or via the ffmpeg cli,
using -force_key_frames, we still let x264 decide what sort of
keyframe to user. In some cases, it is useful to be able to force
an IDR frame, e.g. for cutting streams.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/libx264.c
libavcodec/version.h