VDPAU: improve error handling, Gotham
Merge pull request #4641 from FernetMenta/vdpau

VDPAU:  fixes freeze due to corrupted video stream, Gotham
Merge pull request #4655 from codesnake/allow_restart_of_a_pvr_addon_while_in_create

Allow restart of a PVR addon while it is still creating
Fix memory leak of CGUIViewState

Follow other examples, and use auto_ptr to make sure that the ViewState
object is freed when it goes out of scope

Coverity CID 1211800
Merge pull request #4649 from FernetMenta/vdpau3

VDPAU: fix segfault if vdpau fails to open context
Merge pull request #4647 from FernetMenta/vdpau2

VDPAU: fix cropping for interlaced frames
Merge pull request #3828 from janbar/epg_client_epguid

[pvr] Fix EPG hookdata: Return UniqueBroadcastID
Merge pull request #4653 from FernetMenta/paplayer

paplayer: fix mp4 playback
[rtmp] check m_rtmp for non-NULL - fixes crashes with missing librtmp
Merge pull request #4592 from koying/fixlinhotplug

FIX: [linux] fix & optimize input device checking
Revert "[osx] drop outputbuffer index and iterate over them all"

This reverts commit b9a1d07a7d1a2bec3bb094b97cc7d96a325b9b98.

Conflicts:
	xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
[darwinsink] - use fixed outputbuffer with idx 0