SetPositions stop Audio and Video not simulaneously
-
14-10-2022 - |
Question
I'm using DirectShow via Delphis'w wrapper called DsPack. I want to play some video from StartPosition till EndPosition:
MediaSeeking.SetPositions(Start, AM_SEEKING_AbsolutePositioning,
Stop, AM_SEEKING_AbsolutePositioning);
It works except the weird effect: video stops in a seconds or two after video. First I thought something is wrong with codecs... but if I pause/stop video manually, there is no such an effect. So am I using SetPositions wrong?
Update. Here is the file: https://dl.dropboxusercontent.com/u/957029/Stuff/0.avi Checked on other files - this behaviour is not reproduced.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow