GHC 2016-12-25

2 comments.

, https://git.io/vMfra in soimort/you-get
ffmpeg: set loglevel to info in debug mode
==========================================

Occasionally, the FFmpeg invocation fails (which could be due to bugs in you-get; see #1558 for instance), but `-loglevel quiet` means nothing is printed other than the exit status (pretty much always 1) in Python's traceback, which is not helpful at all.

This commit restores FFmpeg's regular output (`-loglevel info`) when `--debug` is specified. We're not using `verbose`, `debug` or `trace` because those levels are mostly only useful for debugging FFmpeg itself, which is not our goal.

Due to lack of meaningful API to access the global logging level, this is a hack based on two assumptions:

1. When `--debug` is enabled, the root logger level is set to `DEBUG`;
2. `processor.ffmpeg` is lazily imported, after command line options are parsed.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/soimort/you-get/1575)
<!-- Reviewable:end -->

, https://git.io/vMfEj in Homebrew/homebrew-core
mpv 0.23.0
==========

Created with `brew bump-formula-pr`.