applemedia: vtdec: set reorder queue length to the max DPB length

Set reorder_queue_frame_delay from the DPB size (in frames). Still not optimal,
as the DPB size is larger than the max bframe forward prediction length, but I
don't know how to compute the latter without parsing every group of pictures.
applemedia: vtdec: report latency
applemedia: vtdec: rename reorder_queue_frame_delay to reorder_queue_length
applemedia: vtdec: fix compiler warning (uninitialized variable)
gsmdec: process all available input frames in one go

Instead of parsing, decoding and sending out
lots os little 20ms audio buffers one by one.
srtp: add 256-bit key support

* ext/srtp/gstsrtp.[ch]: added GST_SRTP_CIPHER_AES_256_ICM to
  GstSrtpCipherType and new function cipher_key_size.

* ext/srtp/gstsrtpenc.c: maximum key size is now 46 characters (14 for
  the salt plus the key). If different ciphers are chosen for RTP and
  RTCP the maximum needed key size is expected.

* ext/srtp/gstsrtpdec.c: minor documentation updates.

https://bugzilla.gnome.org/show_bug.cgi?id=720434
dvbsuboverlay: fix reading of display window in display definition segment

From ETSI EN 300 743 V1.3.1 (2006-11) 7.2.1 Display definition segment specifictations
the parameters of display window are in this order: Xmin, Xmax, Ymin, Ymax.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Pierre-Yves Mordret <pierre-yves.mordret@st.com>

https://bugzilla.gnome.org/show_bug.cgi?id=720382
asfparse: port to baseparse

asfparse was not really functional after the port to 1.0

Now porting it to baseparse to get it working again
asfparse: add timestamps to packets

re-enable the code that adds timestamps to packets after baseparse's
port
h264parser: not all startcodes should have 3-byte 0 prefix

The parser assumes that every time there is a 0 before the startcode,
it is part of the startcode. But that's not true.

From the specification

Byte stream NAL unit syntax
zero_byte is a single byte equal to 0x00.
  When any of the following conditions are fulfilled, the zero_byte syntax
  element shall be present.
  – the nal_unit_type within the nal_unit( ) is equal to 7 (sequence parameter
    set) or 8 (picture parameter set)
  – the byte stream NAL unit syntax structure contains the first NAL unit of an
    access unit in decoding order, as specified by subclause 7.4.1.2.3.

The problem with doing this for all startcodes is that a trailing zero can mess
up timestamps. The trailing zero gets prepended to the startcode, which will
carry the PTS and DTS of previous buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=664443
applemedia: always include <Foundation/Foundation.h>

Fixes compilation with newest xcode.
configure.ac: add missing AM_CONDITIONAL for OPENEXR and SBC

Makes my automake (1.14) happier.
decklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source

As it does not inherit from basesrc, this flag is not automatically set
and e.g. gst_bin_iterate_sources() and other code does not consider this
element a source.

https://bugzilla.gnome.org/show_bug.cgi?id=680700
applemedia: atdec: fix mp3 caps
applemedia: vtdec: handle level 3 in get_dpb_max_mb_s_from_level. oops.
decklinksrc: Process EOS even when there are no incoming video frames.

https://bugzilla.gnome.org/show_bug.cgi?id=680700
diracparse: Post VIDEO_CODEC tag
h263parse: Post VIDEO_CODEC tag
h264parse: Post VIDEO_CODEC tag
h265parse: Post VIDEO_CODEC tag