Update VirtualDub to v1.10.5-test4 (MPC-HC)
Update UnRAR to v5.1.1
Fix issue #174: Unable to load subtitle files with uppercase extension (e.g. ASS)

http://code.google.com/p/xy-vsfilter/issues/detail?id=174
(CCCP Patch) Re-add the .sub extension for MicroDVD
PGS Subtitles: The palette was incorrectly parsed.

This commit fixes some cases where PGS subtitles were displayed
with wrong colors or even not displayed at all.

Backport of MPC-HC commit 2fc627e
TextFile: Fix a potential bug when reopening a file as text.

Copy the filename before reopening the file since not doing that can lead to an incorrect memory access because the filename is emptied during the process.

Backport of MPC-HC commit 2a75078
Subtitles: Make both DVD subtitles show in case of overlap

Makes behavior consistent with VLC and mplayer/libavcodec DVD
subtitle implementations. Sets the StopTime of the subtitle
before the same as the StartTime of the currently added DVD
subtitle.

Backport of MPC-HC commit f478e57
VobSubFile: Use TRACE for debug messages

We don't want to spam the users with probably useless error messages.

Thanks to clsid.

Backport of MPC-HC commit 9f504fc
 VSFilter: Fix and update the blacklist.

- Ensure the blacklisting is applied as soon as possible when VSFilter tries to join the graph.
- Fix the incorrect string comparisons, the application name is always lowercase.
- Add some apps that are known to have incompatibility with VSFilter.

This commit is based on a patch by clsid.

Backport of MPC-HC commit 1836020
DirectVobSubFilter: Fix a deadlock, Pt.1

File reloader thread causes a dead lock if

 a. the deconstruction of the filter is going, and its thread
    holds the critical section

..and...

 b. the file reloader thread can not yet finish setup and is
    blocked by the critical section.
BaseVideoFilter: Fix unwanted reconnection with input when output failed

Fixes an unwanted reconnection with input pin when output pin
connection failed to complete.

This often happens when connecting to Video Mixing Renderer.
BaseVideoFilter: Always return a list of output color spaces

Return a list of output color spaces even when we fail to get
upstream's preferred order.
DirectVobSubFilter: Reset the colorspace list when connection breaks

Is this correct to do when we're reconnecting?
BaseVideoFilter: Accept only those output colorspaces that are listed upstream.
BaseVideoFilter: Reject colorspace changes from downstream for now
BaseVideoFilter: Refactor CheckTransform
VobSubFile: Fixed creation of a custom palette with Matroska

Fixes rendering of vobsubs in Matroska when the custom colors
feature was enabled.

Backport of MPC-BE commit 1995
DVobSubFilter/STS: Fix colormatrix guessing in case of non set

Used to default to BT.601, now defaults to BT.709 or BT.601
depending on the resolution.
STS: Use TrimRight() with the CStringW YCbCr matrix value

This removes trailing newline, space and tab characters.
While working around simple mistakes, this should not let pure
garbage past.
TextFile: Only fallback to ASCII/ANSI parsing if no UTF-8 BOM was present.

The presence of an UTF-8 BOM should indicate that the file actually is UTF-8,
and one invalid character should not be considered as a reason to think
otherwise.

Backport of MPC-HC commit 8bb9070