Skip to content

Commit

Permalink
Merge pull request #1868 from cewert/fix-videoplayer-crash2
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Jul 25, 2024
2 parents 4dccbc0 + 7405b7c commit c9c0404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/video/VideoPlayerView.bs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ sub ReportPlayback(state = "update" as string)
"PositionTicks": int(m.top.position) * 10000000&, 'Ensure a LongInteger is used
"IsPaused": (m.top.state = "paused")
}
if m.top.content.live
if isValid(m.top.content) and isValid(m.top.content.live) and m.top.content.live
params.append({
"MediaSourceId": m.top.transcodeParams.MediaSourceId,
"LiveStreamId": m.top.transcodeParams.LiveStreamId
Expand Down

0 comments on commit c9c0404

Please sign in to comment.