FFmpeg
Functions | Variables
vsink_nullsink.c File Reference
#include "avfilter.h"
#include "internal.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Functions

static int filter_frame (AVFilterLink *link, AVFrame *frame)
 

Variables

static const AVFilterPad avfilter_vsink_nullsink_inputs []
 
AVFilter ff_vsink_nullsink
 

Function Documentation

◆ filter_frame()

static int filter_frame ( AVFilterLink link,
AVFrame frame 
)
static

Definition at line 23 of file vsink_nullsink.c.

Variable Documentation

◆ avfilter_vsink_nullsink_inputs

const AVFilterPad avfilter_vsink_nullsink_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
},
{ NULL },
}

Definition at line 29 of file vsink_nullsink.c.

◆ ff_vsink_nullsink

AVFilter ff_vsink_nullsink
Initial value:
= {
.name = "nullsink",
.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input video."),
.priv_size = 0,
.outputs = NULL,
}

Definition at line 38 of file vsink_nullsink.c.

filter_frame
static int filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: vsink_nullsink.c:23
NULL
#define NULL
Definition: coverity.c:32
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
avfilter_vsink_nullsink_inputs
static const AVFilterPad avfilter_vsink_nullsink_inputs[]
Definition: vsink_nullsink.c:29
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201