CVD 0.8
Enumerations
CVD::VideoBufferFlags Namespace Reference

Flags common to several different VideoBuffer classes. More...

Enumerations

enum  OnEndOfBuffer { RepeatLastFrame, UnsetPending, Loop }

Detailed Description

Flags common to several different VideoBuffer classes.


Enumeration Type Documentation

If it is a finite buffer (a video file, for example), what should happen when the end of the buffer is reached?

Enumerator:
RepeatLastFrame 

Continue to return the final frame when get_frame() is called (with the same timestamp)

UnsetPending 

Set the return value of frame_pending() to false and throw an EndOfBuffer exception if get_frame() is called.

Loop 

Loop the buffer, so that the next time get_frame() is called it returns the first frame in the buffer.

Definition at line 34 of file videobufferflags.h.