I made application which plays video using DirectX.AudioVideoPlayback.Video class.
There are methods Play(), Pause(), etc…
How should I know when to change value to my trackbar which tracks how much video passed?
Should I create timer and at some interval update my trackbar or there is another solution?
I made application which plays video using DirectX.AudioVideoPlayback.Video class. There are methods Play(), Pause(),
Share
Check it by a timer indeed. If you have your own samplegrabber callback you get the position provided by a callback (however not always rate aware) and CurrentTime is rate aware. Checking it by a timer also helps you to have the information on the right thread from the start.