Skip to content
Snippets Groups Projects
Commit 6eb19208 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

color conversion (version < 3)

parent dda749ea
No related branches found
No related tags found
1 merge request!200python ftl-file v3
Pipeline #17178 passed
......@@ -234,7 +234,10 @@ class FTLStreamReader:
raise NotImplementedError("non-color channel decoding not available")
else:
self._frame = _ycrcb2rgb(img)
if self._version < 3:
self._frame = _ycrcb2rgb(img)
else:
self._frame = img
def _decode_opencv(self, sp, p):
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment