diff --git a/src/libcamera/pipeline/simple/converter.cpp b/src/libcamera/pipeline/simple/converter.cpp index 77c44fc87..62d173bb6 100644 --- a/src/libcamera/pipeline/simple/converter.cpp +++ b/src/libcamera/pipeline/simple/converter.cpp @@ -220,6 +220,12 @@ std::vector SimpleConverter::formats(PixelFormat input) return {}; } + if (v4l2Format.fourcc != V4L2PixelFormat::fromPixelFormat(input)) { + LOG(SimplePipeline, Debug) + << "Input format " << input << " not supported."; + return {}; + } + std::vector pixelFormats; for (const auto &format : m2m_->capture()->formats()) {