[FFmpeg-devel] [PATCH] avfilter/f_cue: add cue and acue filters

Marton Balint cus at passwd.hu
Mon Sep 10 00:20:26 EEST 2018



On Sun, 9 Sep 2018, Nicolas George wrote:

> Marton Balint (2018-09-09):
>> And finally applied. If Nicolas or anybody can provide some pointers on how
>> to get rid of the extra frame queue, then I will be more than happy to work
>> on it.
>
> I am sorry, I am currently having a very annoying trouble with my eye
> which makes it easy to miss important mails and consumes a lot of time
> and energy.
>
> You should not have added a queue in your context at all, you should
> have used the one already present using the API in filters.h.

As far as I see there is only API to get the first frame in the fifo, and 
to check if there is at least one frame in the fifo. What I need is to get 
the frame->pts of the frames (first and last) in the fifo.

Paul suggested to #define FF_INTERNAL_FIELDS, this way I can access 
inlink->fifo directly, and I can use the framequeue.h functions on the 
inlink fifo. Is this what you are suggesting?

Thanks,
Marton


More information about the ffmpeg-devel mailing list