mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Major BugFix: avoid default gst g_main_context
Do NOT update g_main_context at RenderingManager update. Do not use g_main_context for Dialogs. Do not rely on default g_main_context for Device discoverer (implemented a thread save g_main_loop dedicated).
This commit is contained in:
@@ -100,15 +100,14 @@ public:
|
||||
return _instance;
|
||||
}
|
||||
|
||||
void init();
|
||||
int numDevices () const;
|
||||
std::string name (int index) const;
|
||||
std::string description (int index) const;
|
||||
DeviceConfigSet config (int index) const;
|
||||
int numDevices () ;
|
||||
std::string name (int index) ;
|
||||
std::string description (int index) ;
|
||||
DeviceConfigSet config (int index) ;
|
||||
|
||||
int index (const std::string &device) const;
|
||||
bool exists (const std::string &device) const;
|
||||
bool unplugged (const std::string &device) const;
|
||||
int index (const std::string &device);
|
||||
bool exists (const std::string &device) ;
|
||||
bool unplugged (const std::string &device) ;
|
||||
|
||||
Source *createSource(const std::string &device) const;
|
||||
|
||||
@@ -117,9 +116,11 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
static void launchMonitoring(Device *d);
|
||||
void remove(GstDevice *device);
|
||||
void add(GstDevice *device);
|
||||
|
||||
std::mutex access_;
|
||||
std::vector< std::string > src_name_;
|
||||
std::vector< std::string > src_description_;
|
||||
std::vector< DeviceConfigSet > src_config_;
|
||||
|
||||
Reference in New Issue
Block a user