Skip to content
Snippets Groups Projects
Commit 7f1b503e authored by Muhammad Faiz's avatar Muhammad Faiz
Browse files

swresample/resample: do not increase phase_count on exact_rational


high phase_count is only useful when dst_incr_mod is non zero
in other word, it is only useful on soft compensation

on init, it will build filter with low phase_count
but when soft compensation is enabled, rebuild filter
with high phase_count

this approach saves lots of memory

Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarMuhammad Faiz <mfcc64@gmail.com>
parent ee575acb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment