FFmpeg
Public Attributes | List of all members
FFFrameSyncIn Struct Reference

Input stream structure. More...

#include <framesync.h>

Public Attributes

enum FFFrameSyncExtMode before
 Extrapolation mode for timestamps before the first frame.
 
enum FFFrameSyncExtMode after
 Extrapolation mode for timestamps after the last frame.
 
AVRational time_base
 Time base for the incoming frames.
 
AVFrameframe
 Current frame, may be NULL before the first one or after EOF.
 
AVFrameframe_next
 Next frame, for internal use.
 
int64_t pts
 PTS of the current frame.
 
int64_t pts_next
 PTS of the next frame, for internal use.
 
uint8_t have_next
 Boolean flagging the next frame, for internal use.
 
uint8_t state
 State: before first, in stream or after EOF, for internal use.
 
unsigned sync
 Synchronization level: frames on input at the highest sync level will generate output frame events. More...
 

Detailed Description

Input stream structure.

Member Data Documentation

§ sync

unsigned FFFrameSyncIn::sync

Synchronization level: frames on input at the highest sync level will generate output frame events.

For example, if inputs #0 and #1 have sync level 2 and input #2 has sync level 1, then a frame on either input #0 or #1 will generate a frame event, but not a frame on input #2 until both inputs #0 and #1 have reached EOF.

If sync is 0, no frame event will be generated.


The documentation for this struct was generated from the following file: