Store output PNG capture in list of recent recordings

This commit is contained in:
Bruno Herbelin
2021-12-06 12:35:09 +01:00
parent d77bd4034d
commit 315a8534d5

View File

@@ -120,6 +120,8 @@ std::string PNGRecorder::init(GstCaps *caps)
void PNGRecorder::terminate() void PNGRecorder::terminate()
{ {
// remember and inform
Settings::application.recentRecordings.push(filename_);
Log::Notify("PNG Capture %s is ready.", filename_.c_str()); Log::Notify("PNG Capture %s is ready.", filename_.c_str());
} }