Fix subtitle & audio stream lookup and display (1 Viewer)

peterk2007

Portal Member
April 7, 2007
15
4
Home Country
Hungary Hungary
I put together two small pathes because they are really small - just a few
lines -, they are both related to subtitle/audio stream selection, and they
both are in the same file.

1. If ffdshow is in the directshow graph, it adds it's plugins (like
subtitle, sharpen, deinterlace, etc.) as "audio streams". As a result,
Mediaportal adds these plugins as available "audio" streams making the
language selection list chaotic. The patch (only a few lines) excludes
these "streams" from the audio languages list.

2. Haali audio and subtitle streams are displayed improperly. There is a
remaining "[" in the name that is not removed properly, and if the stream
has some extra info (a "track name" entered for the stream in mkv
container), the translation breaks. The patch formats stream info
correctly:
- Removes unnecessary characters,
- Translates subtitle language correctly,
- Adds extra stream info at the end in easily readable format.

Files: VideoPlayerVMR7.cs

Used the latest SVN files (rev 16346)

Submitted the patch to the tracker: Here
 

Users who are viewing this thread

Top Bottom