Enable more ffmpeg logging at startup of playback.

Allow logging in avformat_find_stream_info() if
"-v libav --loglevel debug" is specified.
This proves useful for live TV debugging among others.
(cherry picked from commit ae0dcaf6dfbbef1ac0bcc0cec1c684262ea9ee5c)
Fix StatusBox to account for template recording rules.

Cherry-pick part of SHA1:22c5dbff from master.
Fix Live TV startup, particularly for analog PVR-xxx tuners.

At the start of playback, ffmpeg scans the start of the file for
stream info.  While reading packets, it uses ffio_limit() to truncate
packets during attempts to read past the size of the file.  The file
size is cached at the start of playback, and may be inordinately small
for live TV files, triggering a storm of packet truncation and failure
to start playback.  We fix this by faking a large file size for live
TV playback during the initial call to avformat_find_stream_info().
(cherry picked from commit 5758c2a1d8ce448fce51fd5af3ce1a95494a3408)
Merge remote-tracking branch 'upstream/fixes/0.26' into fixes/0.26