Initial checkin from public ET code.

Should be possible to use with other hardware too.
gstdvbaudiosink: use get_caps to allow dynamic caps negotiation

caps may depend on runtime settings (e.g. dts downmix)
add configure options for video codecs

allowing the videosink to be configured for different chipsets
combine mpeg4v2 configure options
add configure options to disable dts, lpcm, mp3 support
stick to the last-known pts value, after flushing

This avoids that the timeline falls to zero temporarily,
after resuming from pause
lower ranks to GST_RANK_PRIMARY

So we will get framed ac3 again (from ac3parse).
There is no need for higher ranks, now that
we have dynamic dts caps.
add COPYING file

LGPL2.1, as stated in the sourcecode
rebase decoder timestamp to the media position

this fixes the timeline in media with timestamps which do
not have their origin at the media start point (e.g. TS)
gstdvbvideosink: mark VC1 key frames
gst-plugin-dvbmediasink.bb: switch to externalscr (oe-core)

drop dependencies, they are ignored when using bitbake -b
Remove depth 24 \ width 32 audio from audiosink capabilities.

When audio with depth 24 was played as 24/32 the only result
was noise.
add missing stdio.h include
add --with-gstversion=<major.minor> configure option
use the configured GST_MAJORMINOR for the plugin version
use g_malloc / g_free

avoid stdlib.h include
Fix for flac files with high sample rates

Playback of flac files with high sample rates (e.g. 96000Hz) don't
work properly, because driver or hardware seems not to support them.
Limit gstreamer dvb audio sink sample rate capability to 48000Hz fixes
the problem.

Signed-off-by: pieterg <pieterg@users.sourceforge.net>
Set only by hardware supported audio mpeg 4 profile

Only mpeg 4 lc profile is supported by the hardware. Other profiles
will be decoded by software.

Signed-off-by: pieterg <pieterg@users.sourceforge.net>
Fix ac3 audio playback if aac track is present

Once an aac track was played back, an aac adts header was added to
pes packet regardless of whether aac track is selected or not.

Signed-off-by: pieterg <pieterg@users.sourceforge.net>
gstdvbaudiosink: add audio/x-(private1-)eac3 support

enable with --with-eac3