lib: add missing define for scrambled-changed event

This is needed for libvlc_event_type_name().

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
lib: add missing version tag for new API method documentation

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
bluray: fix division by zero

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Direct3D: implement HLSL pixel shading in the rendering pipeline

The user can choose to apply a builtin shader using a selection list
in the options of the Direct3D vout module. A custom shader function
can also be loaded by specifying the path of the shader file.

Many changes since the latest patch proposal: we are not compiling
"shader techniques" anymore but now shader functions using the "main"
entrypoint.  All the shaders previously in pixelShader.fx are now
builtins.

Based on the code by Sasha Koruga for GSoC 2010.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
bluray: implement subtitle stream selection from BluRay menus

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
NEWS: mention libvlc change
zvbi: Set stop pts only for subtitle teletext

A maximum display time does not make sense for real teletext pages. Instead
they should be displayed until the user disables teletext or the page is
updated. Therefore do not set a stop timestamp on normal pages, but only when
rendering in text mode, which is meant for subtitles, where the timeout makes
sense.

Signed-off-by: Dennis Hamester <dhamester@jusst.de>
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
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>
Add FIC video FourCC
Map FIC fourcc to libavcodec