четвер, 17 червня 2010 р.

Controlling DirectVobSub filter

Recently I was assigned a task of controlling subtitles in video player written in C# (using DirectShowLib). After searching for a while I've found a solution - to use an already implemented subtitle rendering filter, which supports a lot of different formats. But I needed to control it somehow in player - and here COM Interop comes in rescue. So first of all I downloaded DirectVobSub source code to write correct COM interface definition. And that's what I've got: