Valkka  0.17.0
OpenSource Video Management
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TimestampFrameFilter2 Class Reference

Corrects erroneous timestamps (while preserving timestamp distances). More...

#include <framefilter.h>

Inheritance diagram for TimestampFrameFilter2:
Inheritance graph
[legend]
Collaboration diagram for TimestampFrameFilter2:
Collaboration graph
[legend]

Public Member Functions

 TimestampFrameFilter2 (const char *name, FrameFilter *next=NULL, long int msdiff_max=TIMESTAMP_CORRECT_TRESHOLD)
 
- Public Member Functions inherited from FrameFilter
 FrameFilter (const char *name, FrameFilter *next=NULL)
 Default constructor. More...
 
virtual ~FrameFilter ()
 Virtual destructor // <pyapi>
 
virtual void run (Frame *frame)
 Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL)
 

Protected Member Functions

void go (Frame *frame)
 Does the actual filtering/modification to the Frame. Define in subclass.
 

Protected Attributes

long int mstime_delta
 
long int msdiff_max
 
long int savedtimestamp
 
- Protected Attributes inherited from FrameFilter
std::string name
 
FrameFilternext
 The next frame filter in the chain to be applied.
 

Detailed Description

Corrects erroneous timestamps (while preserving timestamp distances).

Reset correction every 10 minutes.


The documentation for this class was generated from the following files: