mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
New SourcePlayer
Work in progress; Sources now have play/pause and associated play functions. Media player can play all playable sources, and adapts to control a media player when possible. Selection of play groups (to finalize)
This commit is contained in:
@@ -31,6 +31,10 @@ public:
|
||||
// dynamic change of gstreamer multifile source properties
|
||||
void setProperties(int begin, int end, int loop);
|
||||
|
||||
// image index
|
||||
int index();
|
||||
void setIndex(int val);
|
||||
|
||||
protected:
|
||||
GstElement *src_ ;
|
||||
};
|
||||
@@ -42,6 +46,8 @@ public:
|
||||
|
||||
// Source interface
|
||||
void accept (Visitor& v) override;
|
||||
void replay () override;
|
||||
guint64 playtime () const override;
|
||||
|
||||
// StreamSource interface
|
||||
Stream *stream () const override { return stream_; }
|
||||
|
||||
Reference in New Issue
Block a user