mirror of https://github.com/FFmpeg/FFmpeg.git
Currently, the AV_PKT_FLAG_KEY is automatically set for audio encoders; yet this is wrong, as both MLP and TrueHD have non-keyframes. So set it based upon AV_CODEC_PROP_INTRA_ONLY (from the corresponding AVCodecDescriptor) instead. This also sets it for some video codecs, which is intended. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/369/head
parent
f09fd1c6c7
commit
3f11eac757
2 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue