xHE-AAC is a profile where some frames depend on other key frames, named IPF. By setting the codec as Intra Only, all frames output by decoders and all packets output by encoders/demuxers will be unconditionally flaged as keyframes, which is incorrect. Should fix ticket #11272.
Showing the changes to libavcodec (2 of 2 files). Show all
Unified · Split
| @@ -2715,7 +2715,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 2714 unmodified lines | |||
| 2715 | .type = AVMEDIA_TYPE_AUDIO, | 2715 | .type = AVMEDIA_TYPE_AUDIO, |
| 2716 | .name = "aac", | 2716 | .name = "aac", |
| 2717 | .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), | 2717 | .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), |
| 2718 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY, | 2718 | .props = AV_CODEC_PROP_LOSSY, |
| 2719 | .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles), | 2719 | .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles), |
| 2720 | }, | 2720 | }, |
| 2721 | { | 2721 | { |
| @@ -3049,7 +3049,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 327 unmodified lines | |||
| 3049 | .type = AVMEDIA_TYPE_AUDIO, | 3049 | .type = AVMEDIA_TYPE_AUDIO, |
| 3050 | .name = "aac_latm", | 3050 | .name = "aac_latm", |
| 3051 | .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"), | 3051 | .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"), |
| 3052 | .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY, | 3052 | .props = AV_CODEC_PROP_LOSSY, |
| 3053 | .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles), | 3053 | .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles), |
| 3054 | }, | 3054 | }, |
| 3055 | { | 3055 | { |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | |||
| 30 | #include "version_major.h" | 30 | #include "version_major.h" |
| 31 | 31 | ||
| 32 | #define LIBAVCODEC_VERSION_MINOR 25 | 32 | #define LIBAVCODEC_VERSION_MINOR 25 |
| 33 | #define LIBAVCODEC_VERSION_MICRO 102 | 33 | #define LIBAVCODEC_VERSION_MICRO 103 |
| 34 | 34 | ||
| 35 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 35 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 36 | LIBAVCODEC_VERSION_MINOR, \ | 36 | LIBAVCODEC_VERSION_MINOR, \ |