diff --git a/src/frame_streams/sdl/sdl_video_frame_stream2.cpp b/src/frame_streams/sdl/sdl_video_frame_stream2.cpp index c18473c1..68a9fffe 100644 --- a/src/frame_streams/sdl/sdl_video_frame_stream2.cpp +++ b/src/frame_streams/sdl/sdl_video_frame_stream2.cpp @@ -47,7 +47,7 @@ std::shared_ptr> SDLVideo2InputDevice::subscribe(vo int speccount {0}; SDL_CameraSpec** specs = SDL_GetCameraSupportedFormats(_dev, &speccount); if (specs != nullptr) { - spec = *specs[0]; + spec = *specs[speccount-1]; // start with last, as its usually the smallest for (int spec_i = 1; spec_i < speccount; spec_i++) { if (specs[spec_i]->height > 1080) { continue;