transform: parse configuration argument

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
avcodec: copy video orientation to output format

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
decoder: check video orientation in vout_new_buffer()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
video_format_IsSimilar: check orientation

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
mmdevice: scale volume as other Windows plugins
win32: call SetErrorMode() while still single-threaded

(This is required by MSDN.)
win32: use SetThreadErrorMode() if available
bluray: set audio/spu stream languages

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
libvlc: libvlc_ScrambledChanged event type added

Expose an event to libvlc users which allows them to get notified about the
current program scrambling status.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
mmdevice: do not override target Windows version
mmdevice: update comments
libvlc-module: remove description string for removed option --plugin-path
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>