[rbp/omxplayer] do not reopen the resample context for each frame.

I think this doesn't tend to happen on Pi now, as AV_SAMPLE_FMT_S16 and AV_SAMPLE_FMT_FLTP bypass the resampler,
but best to fix it if some obscure codec returns something else.

See #2873
DllAvFilter: Always include libavfilter/buffersrc.h for av_buffersrc_add_frame.
Merge pull request #2881 from popcornmix/avoid_resample_init

[rbp/omxplayer] do not reopen the resample context for each frame.
Added CFileItem::FillInMimeType() and make GetMimeType() respect const qualifiers.

Before, the MIME type would only be resolved if GetMimeType(true) was called, which is potentially blocking. Now MIME types will be resolved from the file's extension without possibly blocking the thread. See doxy of CFileItem::FillInMimeType() for more info.
Revert "Merge pull request #2809 from jmarshallnz/no_skip_for_you"

This reverts commit c5a85f72b6f685be832d4e3a43328de49baabf03, reversing
changes made to e9aed1d645158647aa2006ac4b2d2d18a3d1ecbf.
Only allow prev-next chapter jumps outside of active playlist
Move player action handling out of GUIDialogVideoOSD and GUIWindowFullScreen into Application
Merge pull request #2855 from Voyager1/skip-chapters-withoutplaylist

Re-enable skip previous/next as chapter jumps, when outside of playlist context
[codegenerator] python: extend swig template to support class variables
[legacy] hide C++ only public class variables from swig
python: don't consider scripts which threw an exception as successful
[fix][ios] ping ; timeout option not supported
Merge pull request #2887 from t4-ravenbird/ios-ping

[fix][ios] ping ; timeout option not supported
Don't add xbmc.a to DIRECTORY_ARCHIVES

It gets added to MAINOBJS anyways, and adding it to DIRECTORY_ARCHIVES
would mean that it also gets added to the tests, which would result
in a double-definition of main () (one from xbmc and one from gtest).

Instead, add it to xbmc.bin directly, as Darwin based platforms require
such static linking.
Fix failing test TestFileOperationJob.ActionCreateFolder

CFileOperationJob::SetFileOperation expects the destination directory
in which the file operation is to take place when creating a folder
and not the final path of the created folder (that is contained
in the CFileItem passed to it)
ActionDeleteFolder also expects the parent directory as the destination
Fix failing test TestFileItem.GetLocalArt

Ensure that CAdvancedSettings is cleared entirely before the test
runs as we should not preserve state between tests.
Make the iterative tests use Google Tests's parameterized test code.

This enables each individual piece of data to have an independent
identifier in the testing system.
[FreeBSD] ping use -t for timeout like OSX
[mingw] added pkg-config to fix configure finding not all available libs