DllAvCodec.h: remove mention of libavcore that is long gone.
configure: Do not check for libavcore files since it is long gone and xbmc requires ffmpeg 1.0
Remove the checks for AVPacket definitions in libavformat.

It has been moved to libavcodec in 2009, libavcodec version 52, and xbmc requires ffmpeg 1.0, libavcodec version 54, so we can assume AVPacket is always defined in libavcodec.
Drop checks for libav*/opt.h.

It has been moved to libavutil/opt.h in 2010, libavutil versin 50, and xbmc requires ffmpeg 1.0, libavutil version 51.
Remove rgb2rgb.h checks.

This header is unused in xbmc code.
Remove the check for libavutil/mathematics.h and assume it is always present.

This header has existed since years and xbmc will not build with such an old ffmpeg version that does not have it.
Remove the check for libavutil/mem.h and assume it is always present.

This header has existed since 2007 and xbmc will not build with such an old ffmpeg version that does not have it.
Remove the check for libavutil/samplefmt.h and assume it is always present.

This header has existed since libavcore got merged back into libavutil and xbmc will not build with such an old ffmpeg version that does not have it.
Drop support for old ffmpeg header layout.

xbmc requires a ffmpeg version that has the new layout.
Drop PIX_FMT_VDPAU_MPEG4 checks and assume it is always present. It is the case for all ffmpeg versions xbmc can build against.
configure: remove a no longer valid comment
Restore code parts from [573b4bc18] to improve libav compatibility.
configure: Drop checks for sample_aspect_ratio. They are useless because they are done via #ifery now.
[rbp] Disable unimplemented settings options

I've been through the settings carefully and have made any settings that are not implemented on Pi be not-visible.

If and when support is added for probing capabilities of the media player then the hiding of unsupported options can be removed.

Thanks to montellese for making this configuration so simple.
[tools] add debian packaging script
[buildsteps] add debian packaging
[rbp/omxplayer] Remove flip timing logic from OMXPlayerVideo

Currently subs are ~500ms out of sync with a lot of jitter.

The video is not rendered by the arm, so a lot of the page flipping code is redundant.
Calling ProcessOverlays/FlipPage every frame is a big performance hit on Pi,
so I keep track of when the subs will next change and only call them then.

This has the side effect that ASS/SSA subs don't animate, so while sub is onscreen,
I periodically update (limited 10 fps).
[rbp/omxplayer] Remove discontinuity handling from players

I think sync/continuity checking done in OMXPlayerVideo and OMXPlayerAudio on Pi
is always wrong and leads to audio sync errors after discontinuities.

The GPU already does clock adjustment based on discontinuities in timestamps,
and is in a better position to do this adjustment.
(Remember there are a couple of seconds of buffered audio/video between here
and GPU and we want to adjust the clock at the other end of this queue).
[WindowInterceptor] Make up() static.
[cores] Make functions static if possible.