mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix crash on startup X server is not available (#895)
This commit is contained in:
@@ -51,6 +51,11 @@ public:
|
||||
///
|
||||
virtual void stop();
|
||||
|
||||
///
|
||||
/// Check if grabber is active
|
||||
///
|
||||
virtual bool isActive() const;
|
||||
|
||||
///
|
||||
/// @brief Get a list of all available V4L devices
|
||||
/// @return List of all available V4L devices on success else empty List
|
||||
@@ -146,6 +151,12 @@ private slots:
|
||||
/// Will start and stop grabber based on active listeners count
|
||||
void handleSourceRequest(const hyperion::Components& component, const int hyperionInd, const bool listen);
|
||||
|
||||
///
|
||||
/// @brief Update Update capture rate
|
||||
/// @param type interval between frames in millisecons
|
||||
///
|
||||
void updateTimer(int interval);
|
||||
|
||||
protected:
|
||||
QString _grabberName;
|
||||
|
||||
|
Reference in New Issue
Block a user