gstreamer
Loading...
Searching...
No Matches
GSROFrameSink Class Referenceabstract

Output destination called exclusively by its owning crate thread. More...

#include <gSROPlugin.h>

Public Member Functions

virtual ~GSROFrameSink ()=default
virtual void write_frame (GSROFrame frame)=0
virtual void finish_output ()=0

Detailed Description

One sink belongs to one crate. The implementation selects encoding and file structure. write_frame takes ownership and must report failures by exception; success must not silently drop a frame. Destruction releases resources, but checked flushing/closing belongs in finish_output().

Definition at line 47 of file gSROPlugin.h.

Constructor & Destructor Documentation

◆ ~GSROFrameSink()

virtual GSROFrameSink::~GSROFrameSink ( )
virtualdefault

Member Function Documentation

◆ finish_output()

virtual void GSROFrameSink::finish_output ( )
pure virtual

◆ write_frame()

virtual void GSROFrameSink::write_frame ( GSROFrame frame)
pure virtual

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