Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 22994 ]] Fix crash when setting the startTime of a video on iOS#7492

Open
livecodepanos wants to merge 1 commit intolivecode:develop-9.6from
livecodepanos:bugfix-22994
Open

[[ Bug 22994 ]] Fix crash when setting the startTime of a video on iOS#7492
livecodepanos wants to merge 1 commit intolivecode:develop-9.6from
livecodepanos:bugfix-22994

Conversation

@livecodepanos
Copy link
Copy Markdown
Contributor

This patch fixes a crash when setting the startTime of a video on iOS

This patch fixes a crash when setting the startTime of a video on iOS
@livecodepanos livecodepanos added this to the 9.6.3-rc-1 milestone Dec 11, 2020

if (m_player != nil)
m_player.currentItem.reversePlaybackEndTime = m_start_time;
SetCurrentTime(ctxt, p_time);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@livecodepanos SetCurrentTime just seeks to that position. the startTime should specify the position that the video begins playback from, including when looping

@runrevmark runrevmark added the WIP label Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants