[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: improve pts handling

Paul B Mahol onemda at gmail.com
Tue Feb 16 11:56:35 CET 2016


On 2/16/16, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> On Mon, Feb 15, 2016 at 4:49 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>> On Sat, Feb 13, 2016 at 12:20 AM, Paul B Mahol <onemda at gmail.com> wrote:
>>>-            ret = plot_cqt(ctx);
>>>+            ret = plot_cqt(ctx, AV_NOPTS_VALUE);
>> it should not be set to AV_NOPTS_VALUE, but to previous pts + something
>>
>>>-            ret = plot_cqt(ctx);
>>>+            ret = plot_cqt(ctx, insamples->pts + i);
>> av_rescale_q(insamples->pts, inlink->time_base, av_make_q(1,
>> inlink->sample_rate)) + i - s->fft_len/2
>>
>> Thank's
>
> Are you going to fix it? If not, i will post a patch to fix it.

Not right now, feel free to do it.


More information about the ffmpeg-devel mailing list