[FFmpeg-devel] [PATCH] swresample/resample: add force_comp argument

Muhammad Faiz mfcc64 at gmail.com
Sun Nov 20 21:21:07 EET 2016


On 11/21/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Sun, Nov 20, 2016 at 03:56:28PM +0700, Muhammad Faiz wrote:
>> this allow to use phase_count_compensation on init (rather than
>> rebuild on swr_set_compensation) when options suggest that
>> soft compensation is enabled
>>
>> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
>> ---
>>  libswresample/resample.c            | 4 +++-
>>  libswresample/soxr_resample.c       | 2 +-
>>  libswresample/swresample.c          | 5 ++++-
>>  libswresample/swresample_internal.h | 3 ++-
>>  4 files changed, 10 insertions(+), 4 deletions(-)
>
> please document this in the code with a comment or 2
> its not immedeatly obvious from reading the code

ok, new patch attached

thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-swresample-resample-add-soft_compensation-argument.patch
Type: text/x-patch
Size: 5635 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161121/f9d4c6d4/attachment.bin>


More information about the ffmpeg-devel mailing list