[mythtv] [patch] VERBOSE flushing

Paul Andreassen paulx at andreassen.com.au
Mon Feb 28 15:02:57 UTC 2005


Occasionally I have problems with reception on some channels and my log
file gets full of:
"DVB#0 WARNING - Uncorrectable error in packet, dropped." and 
"DVB#0 WARNING - Transport Stream Continuity Error. PID = 561" shorten
The problem is my hard drive goes nuts writing all this to disk.

Is it a feature (or bug) that every VERBOSE has a "std::endl" which does
a flush?
http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.7

Attached is a patch to change it to a "\n".

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noflush.diff
Type: text/x-patch
Size: 532 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050301/7f814016/noflush.bin


More information about the mythtv-dev mailing list