Merge pull request #6129 from tokejepsen/bugfix/transcoding_xml_parsing

Transcoding: Fix reading image sequences through oiiotool
This commit is contained in:
Jakub Trllo 2024-01-15 18:55:41 +01:00 committed by GitHub
commit e9387c1b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,8 +110,9 @@ def get_oiio_info_for_input(filepath, logger=None, subimages=False):
if line == "</ImageSpec>":
subimages_lines.append(lines)
lines = []
xml_started = False
if not xml_started:
if not subimages_lines:
raise ValueError(
"Failed to read input file \"{}\".\nOutput:\n{}".format(
filepath, output