FFmpeg
Loading...
Searching...
No Matches
f_cue.c File Reference
#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  CueContext
 

Macros

#define OFFSET(x)
 
#define FLAGS   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
 

Functions

static int activate (AVFilterContext *ctx)
 
 AVFILTER_DEFINE_CLASS_EXT (cue_acue, "(a)cue", options)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET ( x)
Value:
offsetof(CueContext, x)

Definition at line 91 of file f_cue.c.

◆ FLAGS

Definition at line 92 of file f_cue.c.

Function Documentation

◆ activate()

static int activate ( AVFilterContext * ctx)
static

Definition at line 39 of file f_cue.c.

◆ AVFILTER_DEFINE_CLASS_EXT()

AVFILTER_DEFINE_CLASS_EXT ( cue_acue ,
"(a)cue" ,
options  )

Variable Documentation

◆ options

const AVOption options[]
static
Initial value:
= {
{ "cue", "cue unix timestamp in microseconds", OFFSET(cue), AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ "preroll", "preroll duration in seconds", OFFSET(preroll), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ "buffer", "buffer duration in seconds", OFFSET(buffer), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ NULL }
}
#define FLAGS
Definition cmdutils.c:598
#define NULL
Definition coverity.c:32
#define OFFSET(x)
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
Definition opt.h:318
@ AV_OPT_TYPE_INT64
Underlying C type is int64_t.
Definition opt.h:262
static char buffer[20]
Definition seek.c:32

Definition at line 93 of file f_cue.c.