Skip to content

Commit

Permalink
Merge pull request #1838 from pupil-labs/set_av_log_level_to_warning
Browse files Browse the repository at this point in the history
Set av.buffered decoder log level to warning
  • Loading branch information
Patrick Faion authored Mar 26, 2020
2 parents 88933f7 + c2c0574 commit 1218905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pupil_src/shared_modules/video_capture/file_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
logger = logging.getLogger(__name__)
av.logging.set_level(av.logging.ERROR)
logging.getLogger("libav").setLevel(logging.ERROR)
logging.getLogger("av.buffered_decoder").setLevel(logging.WARNING)

assert av.__version__ >= "0.4.3", "pyav is out-of-date, please update"

Expand Down

0 comments on commit 1218905

Please sign in to comment.