mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 05:40:56 +00:00
swr/auto_matrix: treat stereo downmix like stereo.
Based on code by John Stebbins Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c8ffab06f4
commit
f8d74cbdc3
@ -103,6 +103,8 @@ static int even(int64_t layout){
|
||||
}
|
||||
|
||||
static int clean_layout(SwrContext *s, int64_t layout){
|
||||
if((layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == AV_CH_LAYOUT_STEREO_DOWNMIX)
|
||||
return AV_CH_LAYOUT_STEREO;
|
||||
|
||||
return layout;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user