Services API: Complete the implementation of Guide/GetCategoryList and GetStoredSearches endpoints
Fix crash when exiting LiveTV

This can occur mostly when liveTV is started using mythavtest. Should playback fail for some reasons and we exited: kaboom
Use new render2/hwaccel VDPAU api

Hopefully, no more changes in the VDPAU Ffmpeg API (3rd in 12 months).
Fully remove the original VDPAU api, as it causes memory corruption from time to time. Hwaccel is the way forward anyway.

Tested with nvidia (both nouveau and proprietary) and AMD cards.
Housekeeper: let mythfilldatabase use suggested run times

UseSuggestedTime() and InWindow() should be mutually exclusive.

Fixes #12101

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Update to FFmpeg new AVFrame::get_buffer2 API

AVFrame::get_buffer and AVFrame::release_buffer being deprecated

Make VAAPI and DXVA code fully conditional. No point having code in that may not be used
Revert "Try to fix corner cases when stopping in-progress recordings."

This broke livetv for many people. The auto-expirer would delete the in-use file
during playback.

This reverts commit 8116fde7f46494dda0c7ca7658c3bf22e9340b34.
Fix compilation without VAAPI
Update VDA and CrystalHD decoder to get_buffer2 API
Merge remote-tracking branch 'upstream/master'