dvsource-alsa: Fix placement of VS and VSC packs

We used the correct block numbers for each sequence, but the wrong
pack numbers within those blocks.
Correct the standard cycle of samples per frame for 32 kHz audio

Also update the comment about this member to refer to the table in
the standard.
Fix compilation

Apparently the asoundlib.h header has moved to alsa/ nowadays.
Fix more compilation errors

Apparently API stability is for wussies.

the RTSPClientSession class was changed to no longer have the stuff that
we need for tally light operation; instead, the relevant things have
moved to a new class "RTSPClientConnection". The difference is that a
Session may persist over several Connections.

Update our code to match.

Compiles, but does not link yet; this is likely due to a
multiarch-related change in packaging for libLiveMedia.
Check for Boost.System and link with it

Recent versions of Boost require users of Boost.Thread also to link with
Boost.System, so let's do that.
Build-Depend on libboost-system-dev
Explicitly include libavutil/mem.h

av_free is no longer exposed via avcodec.h and libavutil/mem.h needs to be
included.
Fix manual fade behaviour

Previously, as detected during debconf, enabling the "manual fade"
function even once during a dvswitch session, would from then on
automatically enable it again once a secondary feed was chosen, even if
the manual fade function was disabled in the interface.

This is wrong, confusing for the dvswitch operator, and fairly annoying
for people watching the streams, so fix that behaviour.
Implement a generic V4L2 dvsource

dvgrab can read from a device using video4linux, if that device supports
a DV output method. Many such devices do not.

This commit adds a "v4l2-raw" mode which calls avconv rather than
dvgrab; while requiring significantly more resources than dvgrab on the
dvsource host, this then allows for using any V4L2-supported device as
an input to dvswitch.
Disable RTSP support.

The RTSP code hasn't been used in production AFAIK, and libLiveMedia
just changes API far too often for us to be able to use it reasonably.
Disable it.
Add a ChangeLog entry
Add a debian changelog entry, too, in preparation for the release
Add support for a PID file

Useful for a monitoring system in case we're running multiple dvsink
processes on the same host.
Fix obvious syntax error
Add missing dependency

The wildcard target wants to redirect its argument to build/Makefile,
without declaring a dependency. This means that "make clean; make foo"
won't work.

Fix by adding the missing dependency
Add test suite

This commit adds a test suite.

It uses the oscsend command and the OSC control interface to test basic
functionality of dvswitch under xvfb.
Stop throwing away interesting info...

this was annoying while I was originally writing this script, but it actually
does contain useful info, and the test runner redirects it to a file so it
doesn't clutter our build logs.
Sigh
Follow renaming of CodecID to AVCodecID

This probably means we can't compile against FFmpeg anymore, only
against libav, but that should be fine.
AVFrame structures are now properly allocated with av_alloc_frame().

This fixes segfault with ffmpeg-2.2, that is likely to occur, when the
first source connects.

[wouter: revert highlight_title_safe_area_ change of default]