ts: fix demuxing of BluRay streams.

BluRay streams have 4-byte header before TS sync byte. Current code handles 192-byte ts packets,
but it assumes extra bytes are at the end of packet. This results in re-sync at stream start:
  1) first packet is dropped
     First packet is usually PAT, and losing it means losing the first GOP.
     This is fatal with still-image based menus.
  2) 4-byte header of the second packet is skipped
     This results in read of the last packet returning only 188 bytes,
     and it is also skipped.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
vout: remove commented code (moved to vlc_vout_wrapper.h)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
vout: assume aspect ratio is 1:1 if information is missing

Avoid signalling a change of aspect-ratio when it only changed from
1:1 to 0:0.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
vout: reduce zoom ratio in order to avoid signalling unnecessary zoom events

For instance changing from 10:10 to 1:1 should not generate an event
if we are not in display fill mode.
Introducing FFT windowing routines for spectrum-based visualizations

This patch introduces FFT windowing routines to reduce spectral leakage in
spectrum-based visualizations.  It supports four types of windows that are
commonly used in spectrum analyzers (besides the pre-existing rectangular
window):  Hann, flat top, Blackman-Harris, and Kaiser.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Visual: use of FFT windowing in spectrum effect

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
glspectrum: use FFT Windowing

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Add NEWS for FFT windowing
Contribs: update libpng to 1.6.8

See CVE-2013-6954
Fixed contrib compiler on MacOS X 10.9

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lib: expose new meta data attributes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>