diff options
author | James Almer <jamrial@gmail.com> | 2023-02-17 15:43:30 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-02-19 18:30:15 -0300 |
commit | 34a14038318939fffe7fed038282007faef96e80 (patch) | |
tree | 24ea5e11d16dafca94f5563d07880559da6453f2 | |
parent | a34b348328dd33d122ea772fc9f516e6aaef193e (diff) | |
download | ffmpeg-34a14038318939fffe7fed038282007faef96e80.tar.gz |
avfilter/af_pan: use the new swr used channel layout option
Fixes ticket #10180
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 4561232b1a36b7f8532c7939e4a508734053f6f0)
-rw-r--r-- | libavfilter/af_pan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 067f646805..4672648d46 100644 --- a/libavfilter/af_pan.c +++ b/libavfilter/af_pan.c @@ -313,7 +313,7 @@ static int config_props(AVFilterLink *link) pan->channel_map[i] = ch_id; } - av_opt_set_int(pan->swr, "uch", pan->nb_output_channels, 0); + av_opt_set_chlayout(pan->swr, "uchl", &pan->out_channel_layout, 0); swr_set_channel_mapping(pan->swr, pan->channel_map); } else { // renormalize |