rfbsrc: Clamp out of bounds resolutions to prevent segfaults

https://bugzilla.gnome.org/show_bug.cgi?id=726801
gl: Add GSTGLAPI macro to the debug callback function

Fixes the Windows build.

https://bugzilla.gnome.org/show_bug.cgi?id=735565
gl: qglwtextureshare demo fixes and cleanup

1. glcontextid function is replaced by gstreamer gst_gl_context_new_wrapped .
2. call gst_init before gst_gl_display_new , seems gst_gl_display_new depends
   on gst_allocator_register , which only worked after gst_init called
3. flush gstreamer OpenGL context before using shared texture, fix
   flicker problem.

https://bugzilla.gnome.org/show_bug.cgi?id=735566
hlsdemux: Support OpenSSL for AES decryption of HLS fragments

https://bugzilla.gnome.org//show_bug.cgi?id=735248
rawparse: Reset negotiation state when going back to READY

After going back to READY we can accept new format settings again.
glimagesink: Add missing break to switch

CID 1232801
h264parse: fix up handling of input caps corner cases

Do more elaborate validation of the input caps: what fields
are required and/or not allowed. Don't assume AVC3 format
input without codec_data field is byte-stream format. Fix
up some now-unreachable code (CID 1232800).
dvbsuboverlay: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231977), but gst_caps_get_features()
never returns NULL, so that can't happen.
assrender: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231979), but gst_caps_get_features()
never returns NULL, so that can't happen.
dvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop

Valid values range from 1 to 7 as stated.

DTV_ISDBT_LAYER_ENABLED bitmask is built from
OR-ing 0x1 0x2 0x4. If all bits are set
(0x00000111 = 7) it means all layers should be
demodulated.
dvbsrc: add support for additional modulation types
dvbsrc: add basic checks on ISDB-T parameters

Also add a routine for checking wrong delsys/modulation
combinations right before tuning (only implemented for
ISDB-T for now).
dvbsrc: fix description for modulation prop
zebrastripe: Refactor to remove duplicate code

gst_zebra_stripe_transform_frame_ip_planarY
gst_zebra_stripe_transform_frame_ip_YUY2
gst_zebra_stripe_transform_frame_ip_AYUV
all above 3 functions do the same functionality except for offset and pixel stride.
Hence moving the functionality to a single funtion.

https://bugzilla.gnome.org/show_bug.cgi?id=735032
amcaudiodec: Remove hack for Google MP3 decoder

The first buffer does not contain more garbage than any other MP3 decoder
outputs and we don't really know how much we have to drop or not.

After this change the output has the same duration as with mad.
dataurisrc: Make get_uri() threadsafe

https://bugzilla.gnome.org/show_bug.cgi?id=735861
dvbsrc: delay locking till actually needed

Get rid of unneeded locking at prop setting by doing
it only when tuning the frontend at _tune_fe()
dvbsrc: simplify ISDB-T launch line example
dataurisrc: Remove unnecessary else if condition

In gst_data_uri_src_create(), buf cannot be NULL, hence
else if (*buf != NULL) will be invalid so removing the
else if condition and adding a check to unreference buf
in else condition, just in case

https://bugzilla.gnome.org/show_bug.cgi?id=735861
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist