Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior
Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior
- Subject: Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior
- From: Konidaris Christos via Cocoa-dev <email@hidden>
- Date: Thu, 6 Feb 2020 15:22:06 +0200
Any ideas on this problem?
I tried with the latest macOS 10.15.3 and the problem is still there.
> Hi all,
>
> In our macOS apps we use our custom movie controller view. From there we call
> the AVPlayer method seekToTime:(CMTime)time to jump to specific movie times
> to be displayed in a AVPlayerView.
>
> The following series of actions results in wrong behavior:
> 1) Use seekToTime: to jump to a position in the movie asset (from a button or
> a menu item).
> 2) Try to use the trackpad or the mouse scroll-wheel over the AVPlayerView to
> scroll the video content forward or backward.
>
> The video position jumps to start (time 0) and scrolls from there, instead of
> scrolling around the programmatically set position from step (1).
>
> The problem occurs only if the first user action results to a call to
> scrollToTime, followed by using the scroll-wheel. Changing the sequence of
> actions, or after getting the wrong behavior the first time, things behave as
> expected.
>
> Is there any way around this very annoying problem?
>
> Christos Konidaris
>
>
> P.S. Also submitted as problem FB7506896.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden