vidformer 0.6.3__tar.gz → 0.6.5__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -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 *
@@ -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"
File without changes
File without changes
File without changes
File without changes