Skip to content

Commit

Permalink
Do not capture stack-size on ffprobe banner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonghwanhyeon committed Dec 12, 2023
1 parent cad321c commit a767dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffmpeg/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Reference: https://github.com/FFmpeg/FFmpeg/blob/release/5.1/fftools/ffmpeg.c#L1507

_pattern = re.compile(r"(frame|fps|size|time|bitrate|speed)\s*\=\s*(\S+)")
_pattern = re.compile(r"(frame|fps|(?<!stack-)size|time|bitrate|speed)\s*\=\s*(\S+)")

_field_factory = {
"frame": int,
Expand Down

0 comments on commit a767dc3

Please sign in to comment.