X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_capture.h;fp=ffmpeg_capture.h;h=9753c0032f37ae184a91786335bb04534be9413c;hb=72afc695d201f9d2a0dcb316ec62f1610db5fa74;hp=3b2f0e431bd6b08aa0cb7981182dd154bcf5ef5f;hpb=b0a1581f2fca90bb7b9396386c1cb511011474a9;p=nageru diff --git a/ffmpeg_capture.h b/ffmpeg_capture.h index 3b2f0e4..9753c00 100644 --- a/ffmpeg_capture.h +++ b/ffmpeg_capture.h @@ -117,13 +117,13 @@ public: uint32_t get_current_video_mode() const override { return 0; } std::set get_available_pixel_formats() const override { - return std::set{ bmusb::PixelFormat_8BitRGBA }; + return std::set{ bmusb::PixelFormat_8BitBGRA }; } void set_pixel_format(bmusb::PixelFormat pixel_format) override { - assert(pixel_format == bmusb::PixelFormat_8BitRGBA); + assert(pixel_format == bmusb::PixelFormat_8BitBGRA); } bmusb::PixelFormat get_current_pixel_format() const override { - return bmusb::PixelFormat_8BitRGBA; + return bmusb::PixelFormat_8BitBGRA; } std::map get_available_video_inputs() const override {