-
-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hello,
How does the player behave in the following scenario?
I have loaded an MJPEG video and it is playing. I set the status to paused via the player and wait for the status change to be completed via callback. In the callback itself, I read the current position (time) in the video. If I then execute a seek(1, SeekFlag::FromNow | SeekFlag::Frame, seekFinishedCallback), the video jumps forward by 2 frames for the most part; with a seek(-1, SeekFlag::FromNow | SeekFlag::Frame, seekFinishedCallback), usually no seek is executed at all.
When reading out the position before the seek call (Step Forward/Backward), it is noticeable that the reported position does not correspond to the position after the paused callback, but normally reflects a later point in time and therefore the seek calls are not appropriate.
Is there a reason for this and how can it be avoided? Why does the player return a different time in the paused callback than later on?
Greets Markus