Psyche
30th April 2002, 22:04
First of all I must say that my experience with DirectShow programming is about zero. But anyway...
I've been trying to disable IAMStreamSelect interface in dvobsub.ax without luck for the last 3 or 4 hours. I've tried mainly to disable heritance (is that word correct?) from IAMStreamSelect class and #if 0'ed Enable, Count and Info methods declarations and definitions. Besides, where you use some of these methods in the rest of the code I've tried to give some sensible values to the surrounding code and commented the calls.
The problem is that when mplayer starts it crashes with an access violation.
What I want this all mess for is that when you use Ogg splitter (which implements IAMStreamSelect) and DVobSub together, DVobSub takes precedence over Ogg splitter so this one is unable to present streams in the audio menu in mplayer. And, because I think this is a little more useful than DVobSub (Ogg splitter allows use of chaptering and multiple audio streams selectable) I wanted to disable all StreamSelect by DVobSub (I tried to return E_NOTIMPL but it didn't do anything).
Thanks for reading such long posting and grateful. Pls, see if you can help me.
I've been trying to disable IAMStreamSelect interface in dvobsub.ax without luck for the last 3 or 4 hours. I've tried mainly to disable heritance (is that word correct?) from IAMStreamSelect class and #if 0'ed Enable, Count and Info methods declarations and definitions. Besides, where you use some of these methods in the rest of the code I've tried to give some sensible values to the surrounding code and commented the calls.
The problem is that when mplayer starts it crashes with an access violation.
What I want this all mess for is that when you use Ogg splitter (which implements IAMStreamSelect) and DVobSub together, DVobSub takes precedence over Ogg splitter so this one is unable to present streams in the audio menu in mplayer. And, because I think this is a little more useful than DVobSub (Ogg splitter allows use of chaptering and multiple audio streams selectable) I wanted to disable all StreamSelect by DVobSub (I tried to return E_NOTIMPL but it didn't do anything).
Thanks for reading such long posting and grateful. Pls, see if you can help me.