[FFmpeg-devel] [PATCH] swresample/options: enable linear_interp and exact_rational by default

Muhammad Faiz mfcc64 at gmail.com
Fri Mar 17 03:03:12 EET 2017


On Fri, Mar 17, 2017 at 7:09 AM, wm4 <nfxjfg at googlemail.com> wrote:
> On Fri, 10 Mar 2017 09:19:38 +0700
> Muhammad Faiz <mfcc64 at gmail.com> wrote:
>
>> for higher quality resampling
>>
>> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
>> ---
>
> This patch triggers this assertion:
>
> Assertion !c->frac && !c->dst_incr_mod && !c->compensation_distance failed at libswresample/resample.c:391
>
> when I use avresample_set_compensation(). Setting exact_rational=0
> seems to avoid this.

I've posted a patch to fix it

Thank's


More information about the ffmpeg-devel mailing list