Skip to content

Commit

Permalink
Fix PictType issue (#208)
Browse files Browse the repository at this point in the history
On ffms2 this match fails, I assume due to different encoding types. So we force it to be the same to fix it.
  • Loading branch information
Kapppa authored Oct 11, 2024
1 parent 77300c8 commit 50b3d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vspreview/plugins/builtins/slowpics_comp/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def _select_samples_ptypes(self, conf: FindFramesWorkerConfiguration) -> list[Fr
_rnum_checked.add(rnum)

if all(
cast(bytes, f.props['_PictType']) in picture_types_b
get_prop(f.props, '_PictType', str, None, '').encode() in picture_types_b
for f in vs.core.std.Splice(
[out.prepared.clip[rnum] for out in conf.outputs], True
).frames(close=True)
Expand Down

0 comments on commit 50b3d2f

Please sign in to comment.