Commit c262e8cf authored by Anton Khirnov's avatar Anton Khirnov Committed by Michael Niedermayer

vsink_nullsink: switch to filter_frame

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 45eed9b1
......@@ -20,13 +20,9 @@
#include "internal.h"
#include "libavutil/internal.h"
static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
{
return 0;
}
static int end_frame(AVFilterLink *link)
static int filter_frame(AVFilterLink *link, AVFilterBufferRef *frame)
{
avfilter_unref_bufferp(&frame);
return 0;
}
......@@ -34,8 +30,7 @@ static const AVFilterPad avfilter_vsink_nullsink_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame,
.end_frame = end_frame,
.filter_frame = filter_frame,
},
{ NULL },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment