mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
Creation of the base class StreamSource. It is intended to become the
base class for all gstreamer pipeline. DeviceSource and PatternSource inherit from it. A generic stream source class is created for development tests and hack.
This commit is contained in:
4
Stream.h
4
Stream.h
@@ -29,11 +29,11 @@ public:
|
||||
/**
|
||||
* Open a media using gstreamer pipeline keyword
|
||||
* */
|
||||
virtual void open( std::string description ) = 0;
|
||||
void open(const std::string &gstreamer_description );
|
||||
/**
|
||||
* Get description string
|
||||
* */
|
||||
virtual std::string description() const;
|
||||
std::string description() const;
|
||||
/**
|
||||
* True if a media was oppenned
|
||||
* */
|
||||
|
||||
Reference in New Issue
Block a user