[pvr] make all livetv views available to the user earlier (as soon as channels are fetched from the backend and before epg is loaded from the db) by changing the pvr/epg manager startup logic
Revert "[epg] fixed - epg load/update was interrupted when the pvr manager imports channels, leading to delays and channel ids gone missing in certain situations"

This reverts commit bdf8842d543fae54067c4dd453bded8474e1044f.

Conflicts:

	xbmc/pvr/PVRManager.h
Adds transcoding of multichannel audio to AC3 for the CoreAudioEngine.

Changes CoreAudioAE::MakeStream to detect if transcoding is possible and needed. The
transcoding state is passed to OpenCoreAudio where is plays a part in
the setup of the object. Mostly, transcode behaves like passthrough
here.

The actual transcoding happens in CoreAudioAEStream, were an
AEEncoderFFmpeg is instantiated and used if transcosing is called for.

The trickiest bit is the addition of a buffer for incoming audio that
needs to be encoded. The encoder needs to work in specific block sizes,
and the incoming stream is not always handed to us in appropriate chunks
so we need to buffer it up so we can process it. This required a little
fiddling with the delays to make sure sync was kept tight.
fixed bug with arial.ttf
[rendercapture] Fix passthrough rendercapture interface

The RenderCapture function doesn't behave correctly for passthough video renderers,
and in fact segfaults on Pi when setting a bookmark.

There is no need to do a glReadPixels to get a video snapshot in the passthrough case,
so provide a shortcut.
[rbp] Support grabbing just the video layer through rendercapture

As the bookmark snapshot doesn't want the OSD (and neither does boblight)
allow video, or video + GUI to be selectable.

While we're there, making the GPU do the red/blue swap and stride packing saves some cpu.

Requires updated firmware
[rbp/omxplayer] Avoid too many calls to GPU

We currently read the media time once per packet received from demuxer to determine gpu underrun.
We've found that TrueHD audio in particular produces ~1000 packets per second (whether it is the active track or not).
The cost of reading media time (from gpu) is high enough that 1000 calls per second makes us fail to keep up.
So, cache the media time, and only read it at most 50 times per second.
[rbp/omxplayer] Avoid audio codec when in passthrough modes

There is no need to open the ffmpeg audio codec when in passthrough mode.
Also there is no need to close/open the OMXAudio component when parameters (like number of channels) change in passthough.
This avoids an unpleasant stutter
Merge pull request #1994 from nemphys/pvr-epg-startup

[pvr] make all livetv views available to the user earlier (as soon as channels are fetched from the backend and before epg is loaded from the db) by changing the pvr/epg manager startup logic
CDVDDemuxPVRClient: zero-init props in RequestStreams()
Merge pull request #3192 from herrnst/pvrprops-init

CDVDDemuxPVRClient: zero-init props in RequestStreams()
[skin] update Touched skin
[3d] fixed wrong size of ass subtitles under sbs/tab 3d mode.
[pvr] bump add-ons
[addons] add Gotham repositoy
Merge pull request #3215 from opdenkamp/sept_window

[pvr] bump add-ons
fixed: scraper fallback logic

code ended up selecting the default album scraper for artists
Merge pull request #3203 from taxigps/fonts

fixed bug with arial.ttf
ActiveAESink: Fix GenarateNoise()
[LangCodeExpander] Add method CompareLangCodes(const CStdString& code1, const CStdString& code2).
Its purpose is to determine if two languages given as ISO 639-1, ISO 639-2/T, or ISO 639-2/B codes represent the same language.