Skip to content
  • Nirbheek Chauhan's avatar
    decklink: Fix linking on MinGW · 216f044e
    Nirbheek Chauhan authored and Sebastian Dröge's avatar Sebastian Dröge committed
    MinGW does not provide comsupp.lib, so there's no implementation of
    _com_util::ConvertBSTRToString. Use a fallback implementation that
    uses wcstombs() instead.
    
    On MinGW we also truncate the name to 100 chars which should be fine.
    216f044e