eac5cab5cb
allows disabling automatic conversion to RGB for certain formats. If conversion is disabled the returned image just points to the underlying buffer, so no memcpy is performed. Note that we do not check image size in retrieve frame any more as it can not possibly while the device is streaming. Furthermore this code was disabled altogether by the wrong ifdef in the previous commit.