mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
@@ -95,7 +95,7 @@ bool V4L2Grabber::init()
|
||||
QString v4lDevices_str;
|
||||
|
||||
// show list only once
|
||||
if (!QString(QSTRING_CSTR(_deviceName)).startsWith("/dev/"))
|
||||
if (!_deviceName.startsWith("/dev/"))
|
||||
{
|
||||
for (auto& dev: _v4lDevices)
|
||||
{
|
||||
@@ -369,11 +369,8 @@ void V4L2Grabber::close_device()
|
||||
|
||||
_fileDescriptor = -1;
|
||||
|
||||
if (_streamNotifier != nullptr)
|
||||
{
|
||||
delete _streamNotifier;
|
||||
_streamNotifier = nullptr;
|
||||
}
|
||||
delete _streamNotifier;
|
||||
_streamNotifier = nullptr;
|
||||
}
|
||||
|
||||
void V4L2Grabber::init_read(unsigned int buffer_size)
|
||||
|
Reference in New Issue
Block a user