RingBuffer: Properly wait for readahead thread to start

Inverted test, no wait occurred causing a race condition later on which causes failures in LiveTV, usually when changing channels
RingBuffer: always read directly from file if read ahead thread isn’t running

readInternalMode can only work if the read ahead thread is running
HDHomeRun: Fix compilation on fedora 20
fix doxygen documentation style

//< instead of ///<
also /// instead of ///<
Fix segfaults in MythUIType::UpdateDependState() following 640da5a9
ExternalStreamHandler: prevent an unlikely segfault
AvFormatDecoder::ProcessVideoFrame: Prevent a segfault.
Recently the V4L2_ENC_CMD_START has become less and less likely to actually
start encoding with the HD-PVR.  Go back to using a simple read instead,
which is more like what we did before adding HD-PVR support.

Further, give it several chances.  At least with the HD-PVR getting a
"Resource temporarily unavailable" is not uncommon.
RecorderBase::SetRecordingStatus: When entering a failing state, send REC_FAILING system event.
From 149a80a818218baa96e52f36798c6632e9a5bb91 Mon Sep 17 00:00:00 2001
Subject: [PATCH] Enhance tv_rec recording profile info message with cardid

Signed-off-by: John Poet <jpoet@mythtv.org>
From 0fa4cff4764e777e8211aaabce780944a87f622e Mon Sep 17 00:00:00 2001
Subject: [PATCH] Enhance tv_rec recording profile messages in fallback/error
 cases

Signed-off-by: John Poet <jpoet@mythtv.org>
adapt mythwikiscript to the changed html code
create downloaded wiki script as executable files
test existence of target directory and try to create it if its missing
Set the VID_AVC flag where applicable recordings by inspecting the video codec during recording.
Remove a header that ended up not being used.
Fix some DB queries in ProfileGroupEditor which weren't using bound values.
Fix some DB queries in ChannelUtil which weren't using bound values.
Fix a slew of errors in the previous commit.
MythMusic: Fix out of bounds array access in spectrum visualizer

NB This was the cause of the 'sticky bars' often seen with this visualiser.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>