0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

ad_spdif: update deprecated FF_PROFILE_DTS_HD_HRA definition

One deprecated FF_PROFILE_DTS_HD_HRA definition was left unaltered - fix that.
This commit is contained in:
Alex Mitzsch 2024-03-10 20:51:36 +01:00 committed by sfan5
parent 94e5a0ffb2
commit 1bf821ebdc

View File

@ -226,7 +226,7 @@ static int init_filter(struct mp_filter *da)
// for DTS-HD MA, and stereo (2 channels) for DTS-HD HRA. The bit
// streaming rate as well as the signaled channel count are defined
// based on this value.
int dts_hd_spdif_channel_count = profile == FF_PROFILE_DTS_HD_HRA ?
int dts_hd_spdif_channel_count = profile == AV_PROFILE_DTS_HD_HRA ?
2 : 8;
if (spdif_ctx->use_dts_hd && is_hd) {
av_dict_set_int(&format_opts, "dtshd_rate",