gstreamer
Loading...
Searching...
No Matches
stream.cc
Go to the documentation of this file.
1// gstreamer
4
5// Non-Doxygen implementation file: behavior is documented in the header.
6bool GstreamerRootFactory::startStreamImpl([[maybe_unused]] const GFrameDataCollection* frameRunData) {
7 if (rootfile == nullptr) {
8 log->error(ERR_CANTOPENOUTPUT, "GstreamerRootFactory::startStream: file is not initialized");
9 }
10
11 return true;
12}
13
14
15bool GstreamerRootFactory::endStreamImpl([[maybe_unused]] const GFrameDataCollection* frameRunData) {
16 if (rootfile == nullptr) {
17 log->error(ERR_CANTOPENOUTPUT, "GstreamerRootFactory::endStream: file is not initialized");
18 }
19
20 return true;
21}
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 (file/device not accessible).