12 log->debug(NORMAL,
"GstreamerRootFactory::openConnection -> opening file " + filename());
14 rootfile = std::make_unique<TFile>(filename().c_str(),
"RECREATE");
16 if (rootfile->IsZombie()) {
18 ERR_CANTOPENOUTPUT,
"GstreamerRootFactory: could not create file " + filename() +
" (file is a zombie)");
21 log->info(1, SFUNCTION_NAME,
"GstreamerRootFactory: opened file " + filename());
35 log->info(1, SFUNCTION_NAME,
"GstreamerRootFactory: closed file " + filename());
std::shared_ptr< GLogger > log
virtual bool closeConnectionImpl()
Plugin-specific close implementation hook.
virtual bool openConnection()
Open the output medium used by this streamer.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.
ROOT streamer plugin declarations.