libavfilter/vsrc_nullsrc.c File Reference

null video source More...

#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  NullContext

Functions

static int init (AVFilterContext *ctx, const char *args, void *opaque)
static int config_props (AVFilterLink *outlink)
static int request_frame (AVFilterLink *link)

Variables

AVFilter avfilter_vsrc_nullsrc


Detailed Description

null video source

Definition in file vsrc_nullsrc.c.


Function Documentation

static int config_props ( AVFilterLink outlink  )  [static]

Definition at line 48 of file vsrc_nullsrc.c.

static int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 30 of file vsrc_nullsrc.c.

static int request_frame ( AVFilterLink link  )  [static]

Definition at line 60 of file vsrc_nullsrc.c.

Referenced by avfilter_request_frame().


Variable Documentation

Initial value:

 {
    .name        = "nullsrc",
    .description = "Null video source, never return images.",

    .init       = init,
    .priv_size = sizeof(NullContext),

    .inputs    = (AVFilterPad[]) {{ .name = NULL}},

    .outputs   = (AVFilterPad[]) {
        {
            .name            = "default",
            .type            = AVMEDIA_TYPE_VIDEO,
            .config_props    = config_props,
            .request_frame   = request_frame,
        },
        { .name = NULL}
    },
}

Definition at line 65 of file vsrc_nullsrc.c.


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8