gstreamer
Loading...
Searching...
No Matches
stream.cc
Go to the documentation of this file.
1// gstreamer
4
5// Implementation summary:
6// Frame-stream hooks are currently placeholders for the ROOT backend.
7
8bool GstreamerRootFactory::startStreamImpl([[maybe_unused]] const GFrameDataCollection* frameRunData) {
9 if (rootfile == nullptr) {
10 log->error(ERR_CANTOPENOUTPUT, "GstreamerRootFactory::startStream: file is not initialized");
11 }
12
13 return true;
14}
15
16
17bool GstreamerRootFactory::endStreamImpl([[maybe_unused]] const GFrameDataCollection* frameRunData) {
18 if (rootfile == nullptr) {
19 log->error(ERR_CANTOPENOUTPUT, "GstreamerRootFactory::endStream: file is not initialized");
20 }
21
22 return true;
23}
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.
ROOT streamer plugin declarations.