mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-21 07:09:59 +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:
9
Stream.h
9
Stream.h
@@ -83,6 +83,14 @@ public:
|
||||
* Performs a full check of the Gstreamer pipeline if testpipeline is true
|
||||
* */
|
||||
bool isPlaying(bool testpipeline = false) const;
|
||||
/**
|
||||
* Attempt to restart
|
||||
* */
|
||||
virtual void rewind();
|
||||
/**
|
||||
* Get position time
|
||||
* */
|
||||
virtual GstClockTime position();
|
||||
/**
|
||||
* Get rendering update framerate
|
||||
* measured during play
|
||||
@@ -126,6 +134,7 @@ protected:
|
||||
bool live_;
|
||||
|
||||
// GST & Play status
|
||||
GstClockTime position_;
|
||||
GstState desired_state_;
|
||||
GstElement *pipeline_;
|
||||
GstVideoInfo v_frame_video_info_;
|
||||
|
||||
Reference in New Issue
Block a user