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>