[FFmpeg-devel] [PATCH] avfilter/f_cue: use internal fifo for queueing frames
Marton Balint
cus at passwd.hu
Sun Sep 30 19:50:20 EEST 2018
On Sun, 30 Sep 2018, Nicolas George wrote:
> Marton Balint (2018-09-30):
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>> libavfilter/f_cue.c | 90 +++++++++++++++++++----------------------------------
>> 1 file changed, 32 insertions(+), 58 deletions(-)
>>
>> diff --git a/libavfilter/f_cue.c b/libavfilter/f_cue.c
>> index 732b5e218a..b2fff050da 100644
>> --- a/libavfilter/f_cue.c
>> +++ b/libavfilter/f_cue.c
>> @@ -18,11 +18,13 @@
>> * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>> */
>>
>> +#define FF_INTERNAL_FIELDS 1
>> +#include "framequeue.h"
>
> No.
>
> I think I already told you: use the API in filters.h, the various
> ff_inlink_* functions, rather than accessing the queue directly. Better
> abstraction, less maintenance later.
With filters.h I can only consume the oldest frame, I have no way to
query the timestamp of the most recent frame in the fifo. Please point me
to the API I should use.
Thanks,
Marton
More information about the ffmpeg-devel
mailing list