SetRate() in WPFMediaKit

May 2, 2012 at 8:29 PM

I used WPFMediaKit in our application.During video playback, I used SetRate() in IMediaSeeking interface to set different playback rate. When I call SetRate(1), it works and return value is zero.But when I set other than '1' like SetRate(2), SetRate call Failed and return value is -2147024809 .   How do make this works?.

May 18, 2012 at 1:33 PM


I found the problem .I just did the following

Comment the following line in  OpenSource() menthod from MediaUriPlayer.cs


It works for me.