vidformer 0.6.3__py3-none-any.whl → 0.6.5__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
vidformer/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """A Python library for creating and viewing videos with vidformer."""
2
2
 
3
- __version__ = "0.6.3"
3
+ __version__ = "0.6.5"
4
4
 
5
5
  from .vf import *
vidformer/cv2/vf_cv2.py CHANGED
@@ -91,6 +91,10 @@ class Frame:
91
91
  self._modified = False
92
92
 
93
93
  def _mut(self):
94
+ if self._modified:
95
+ assert self._fmt["pix_fmt"] == "rgb24"
96
+ return
97
+
94
98
  self._modified = True
95
99
  self._f = _filter_scale(self._f, pix_fmt="rgb24")
96
100
  self._fmt["pix_fmt"] = "rgb24"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: vidformer
3
- Version: 0.6.3
3
+ Version: 0.6.5
4
4
  Summary: A Python library for creating and viewing videos with vidformer.
5
5
  Author-email: Dominik Winecki <dominikwinecki@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -0,0 +1,7 @@
1
+ vidformer/__init__.py,sha256=WDRsfzSyzVQEEuzspuxEn94sNB9jGZpaYEiZsLqOC7U,113
2
+ vidformer/vf.py,sha256=GT7t4hFgqK-66m9ejVtdeeHmWnShG-lxENPfMhV9vcg,31284
3
+ vidformer/cv2/__init__.py,sha256=wOjDsYyUKlP_Hye8-tyz-msu9xwaPMpN2sGMu3Lh3-w,22
4
+ vidformer/cv2/vf_cv2.py,sha256=sSoZGwi-NGNd263ZdiVbu2iXVF0fxbXKBVof5KR0-cw,15584
5
+ vidformer-0.6.5.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
6
+ vidformer-0.6.5.dist-info/METADATA,sha256=fgeoJMLG2KZJLxzHbRrOEZVXQtbWWFtAfqdKJ1mEqhQ,1487
7
+ vidformer-0.6.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.9.0
2
+ Generator: flit 3.10.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,7 +0,0 @@
1
- vidformer/__init__.py,sha256=rPOYJ5lP3aakC8gCLNRO_UQMSB7Urw99GlmA_fgAHT4,113
2
- vidformer/vf.py,sha256=GT7t4hFgqK-66m9ejVtdeeHmWnShG-lxENPfMhV9vcg,31284
3
- vidformer/cv2/__init__.py,sha256=wOjDsYyUKlP_Hye8-tyz-msu9xwaPMpN2sGMu3Lh3-w,22
4
- vidformer/cv2/vf_cv2.py,sha256=CO9LZ7FwOhrzNJ1eFjd9JddZm0PjY-XtOlKIYGB3iQQ,15486
5
- vidformer-0.6.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
6
- vidformer-0.6.3.dist-info/METADATA,sha256=I9uunnIKl0G3rmRfpEbillCpleuNDfslw7aX0rVd_eo,1487
7
- vidformer-0.6.3.dist-info/RECORD,,