mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
BugFix DeviceSource: shared access to stream vis Device::manager
Creation of multiple DeviceSources is possible (also for multiple sessions and transitions) through centralized management of gst streams. Creation and deletion of a shared stream accross DeviceSources is handled.
This commit is contained in:
@@ -374,7 +374,7 @@ float Stream::aspectRatio() const
|
||||
|
||||
void Stream::enable(bool on)
|
||||
{
|
||||
if ( !opened_ || pipeline_ == nullptr)
|
||||
if ( !opened_ || pipeline_ == nullptr || !textureinitialized_)
|
||||
return;
|
||||
|
||||
if ( enabled_ != on ) {
|
||||
|
||||
Reference in New Issue
Block a user