mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
Improved GenericStreamSource, with stream discoverer
Also timeout to fail if open does not works + new GST icon.
This commit is contained in:
@@ -59,6 +59,9 @@ protected:
|
||||
*/
|
||||
class GenericStreamSource : public StreamSource
|
||||
{
|
||||
std::string gst_description_;
|
||||
std::list<std::string> gst_elements_;
|
||||
|
||||
public:
|
||||
GenericStreamSource();
|
||||
|
||||
@@ -70,6 +73,11 @@ public:
|
||||
|
||||
// specific interface
|
||||
void setDescription(const std::string &desc);
|
||||
std::string description() const;
|
||||
std::list<std::string> gstElements() const;
|
||||
|
||||
glm::ivec2 icon() const override;
|
||||
std::string info() const override;
|
||||
};
|
||||
|
||||
#endif // STREAMSOURCE_H
|
||||
|
||||
Reference in New Issue
Block a user