well that was dumb

This commit is contained in:
ed 2022-08-23 00:03:04 +02:00
parent ee0a060b79
commit 49470c05fa
3 changed files with 8 additions and 6 deletions

View file

@ -36,7 +36,10 @@ FAST = True # parse entire file at container level
# warnings to ignore
harmless = re.compile("^Unsupported codec with id ")
harmless = re.compile(
r"Unsupported codec with id |Could not find codec parameters.*Attachment:|analyzeduration"
+ r"|timescale not set"
)
def wfilter(lines):
@ -91,7 +94,7 @@ def main():
if err:
return err
if min(w, h) < 1080:
if min(w, h) < 720:
return "resolution too small"
zs = (