rtprtx: Reset state on each iteration

Otherwise it didn't wait for the test to finish before checking the results.

https://bugzilla.gnome.org/show_bug.cgi?id=728501
flvdemux: set RESYNC buffer flag when bridging large PTS gaps

So downstream gets notified when this happens.

https://bugzilla.gnome.org/show_bug.cgi?id=725903
v4l2bufferpool: Cleanup poll method and retry on EINTR/EAGAIN

https://bugzilla.gnome.org/show_bug.cgi?id=731015
flvdemux: Query duration upstream first

Upstream elements (like rtmpsrc) might be able to provide the duration
more accurately than flvdemux. Especially with index-less vod files
wavparse: do not include codec_data on raw audio caps

If the wav header contains an extended chunk, we want to keep
the codec_data field, but not for raw audio.

This fixes some elements (such as adder) from failing to intersect
raw audio caps which would otherwise be intersectable.
flvdemux: Attempt upstream seek first

If we have an upstream element that can handle the seek (such as
rtmpsrc), try to do that first before attempting it ourself.
speexenc: add missing va_end in variadic function

Coverity 1139944
flacdec: add const where appropriate
qtdemux: avoid looping indefinitely in broken svq3 files

Abort if an atom with size 0 is read from within the svq3 stsd
atoms

https://bugzilla.gnome.org/show_bug.cgi?id=726512
multipartdemux: Send stream-start event

This event was not sent. Send it before caps, this requires the pad to
be parented. This removes warning like: "Got data flow before
stream-start event".

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731475
multipartdemux: guard against having no MIME type

The code would previously crash trying to insert a NULL string
into a hash table.
It does seem a little broken that indexing is done by MIME type
and not by index though, unless the spec says there cannot be
two parts with the same MIME type.

https://bugzilla.gnome.org/show_bug.cgi?id=659573
rtpdvpay: catch failures to map buffer

Coverity 1139741
rtph263pay: fix leaks

Coverity 1212149
rtph263pay: fix leak

Coverity 1212157
rtpg729pay: leak fixes

Coverity 1212159
rtptheordepay: fix leaks

Coverity 1212163
v4l2bufferpool: Cleanly handle v4l2_allocator_new failure
oss: make sure 16-bit formats are before 8-bit formats in probed caps

Probe supported formats in order of desirability rather than in
what order they may happen to be in the formats bitmask. Fixes
accidentally exposure of 8-bit formats in caps before 16-bit formats
(in case where U16 was not supported S8 might be listed before S16).

https://bugzilla.gnome.org/show_bug.cgi?id=706884
oss: simplify probed caps before returning them

Exposes all formats in the first structure if the
rest is the same for all of them.
dynudpsink: return FLUSHING when sendto got canceled, not an error