Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -597,6 +597,7 @@ static av_cold int mlp_encode_init(AVCodecContext *avctx) · 596 unmodified lines | |||
| 597 | ctx->ch8_presentation_mod= 1; | 597 | ctx->ch8_presentation_mod= 1; |
| 598 | ctx->thd_substream_info = 0x14; | 598 | ctx->thd_substream_info = 0x14; |
| 599 | break; | 599 | break; |
| 600 | case AV_CH_LAYOUT_2POINT1: | ||
| 600 | case AV_CH_LAYOUT_SURROUND: | 601 | case AV_CH_LAYOUT_SURROUND: |
| 601 | case AV_CH_LAYOUT_5POINT0: | 602 | case AV_CH_LAYOUT_5POINT0: |
| 602 | case AV_CH_LAYOUT_5POINT1: | 603 | case AV_CH_LAYOUT_5POINT1: |
| @@ -2323,10 +2324,11 @@ const FFCodec ff_truehd_encoder = { · 1720 unmodified lines | |||
| 2323 | .p.priv_class = &mlp_class, | 2324 | .p.priv_class = &mlp_class, |
| 2324 | .p.sample_fmts = (const enum AVSampleFormat[]) {AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_NONE}, | 2325 | .p.sample_fmts = (const enum AVSampleFormat[]) {AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_NONE}, |
| 2325 | .p.supported_samplerates = (const int[]) {44100, 48000, 88200, 96000, 176400, 192000, 0}, | 2326 | .p.supported_samplerates = (const int[]) {44100, 48000, 88200, 96000, 176400, 192000, 0}, |
| 2326 | CODEC_OLD_CHANNEL_LAYOUTS(AV_CH_LAYOUT_MONO, AV_CH_LAYOUT_STEREO, AV_CH_LAYOUT_SURROUND, AV_CH_LAYOUT_5POINT0, AV_CH_LAYOUT_5POINT1) | 2327 | CODEC_OLD_CHANNEL_LAYOUTS(AV_CH_LAYOUT_MONO, AV_CH_LAYOUT_STEREO, AV_CH_LAYOUT_2POINT1, AV_CH_LAYOUT_SURROUND, AV_CH_LAYOUT_5POINT0, AV_CH_LAYOUT_5POINT1) |
| 2327 | .p.ch_layouts = (const AVChannelLayout[]) { | 2328 | .p.ch_layouts = (const AVChannelLayout[]) { |
| 2328 | AV_CHANNEL_LAYOUT_MONO, | 2329 | AV_CHANNEL_LAYOUT_MONO, |
| 2329 | AV_CHANNEL_LAYOUT_STEREO, | 2330 | AV_CHANNEL_LAYOUT_STEREO, |
| 2331 | AV_CHANNEL_LAYOUT_2POINT1, | ||
| 2330 | AV_CHANNEL_LAYOUT_SURROUND, | 2332 | AV_CHANNEL_LAYOUT_SURROUND, |
| 2331 | AV_CHANNEL_LAYOUT_5POINT0, | 2333 | AV_CHANNEL_LAYOUT_5POINT0, |
| 2332 | AV_CHANNEL_LAYOUT_5POINT1, | 2334 | AV_CHANNEL_LAYOUT_5POINT1, |