Skip to content

Commit 5d1ad37

Browse files
committed
Filter out hidden attribute from options passed to codec
1 parent 395d388 commit 5d1ad37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flitter/render/window/record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def render(self, node, references, *, time=None, fps=None, realtime=None, **kwar
1919
limit = node.get('limit', 1, float)
2020
options = {}
2121
for key, value in node.items():
22-
if key not in {'filename', 'codec', 'pixfmt', 'limit'}:
22+
if key not in {'filename', 'codec', 'pixfmt', 'limit', 'hidden'}:
2323
options[key.replace('__', '-')] = str(value)
2424
path.write_video_frame(self._target.video_frame, time, fps=int(fps), realtime=realtime, codec=codec,
2525
pixfmt=pixfmt, options=options, limit=limit, alpha=keep_alpha)

0 commit comments

Comments
 (0)