Update New Source panel for Media

Added list of recent files, recent recordings, and folders list of media files. All saved in settings. Connect list of recent recordings with recorder.
This commit is contained in:
Bruno Herbelin
2021-12-05 18:41:58 +01:00
parent 923d84f378
commit ffe05368e8
7 changed files with 335 additions and 75 deletions

View File

@@ -12,11 +12,12 @@
class PNGRecorder : public FrameGrabber
{
std::string filename_;
std::string filename_;
public:
PNGRecorder();
std::string filename() const { return filename_; }
protected:
@@ -28,7 +29,7 @@ protected:
class VideoRecorder : public FrameGrabber
{
std::string filename_;
std::string filename_;
std::string init(GstCaps *caps) override;
void terminate() override;
@@ -58,7 +59,7 @@ public:
VideoRecorder();
std::string info() const override;
std::string filename() const { return filename_; }
};