forked from Green-Sky/tomato
use last camera device instead of first
this should prio new devices (like virtual cameras)
This commit is contained in:
parent
3475f0751f
commit
ee8604b234
@ -54,8 +54,8 @@ std::shared_ptr<FrameStream2I<SDLVideoFrame>> SDLVideo2InputDevice::subscribe(vo
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto device = devices[0];
|
//auto device = devices[0];
|
||||||
//auto device = devices[devcount-1];
|
auto device = devices[devcount-1];
|
||||||
|
|
||||||
SDL_CameraSpec spec {
|
SDL_CameraSpec spec {
|
||||||
// FORCE a different pixel format
|
// FORCE a different pixel format
|
||||||
|
Loading…
Reference in New Issue
Block a user