Skip to content

Construct VideoFrame from CanvasImageSource (including VideoFrame) - #185

Merged
chcunningham merged 3 commits into
videoframe_clone_closefrom
videoframe_from_canvasimagesource
May 5, 2021
Merged

chcunningham merged 3 commits into
videoframe_clone_closefrom
videoframe_from_canvasimagesource

Conversation

@chcunningham

@chcunningham chcunningham commented Apr 19, 2021

Copy link
Copy Markdown
Collaborator

Replaces the ImageBitmap constructor with more generic constructor for
CanvasImageSource. VideoFrame is itself a CanvasImageSource.

frame.createImageBitmap() is removed, as we can now instead call createImageBitmap(frame).

Fixes #145. Also, see #158.


Preview | Diff

Replaces the ImageBitmap constructor with more generic constructor for
CanvasImageSource. VideoFrame is itself a CanvasImageSource.

Fixes #158
@chcunningham
chcunningham requested review from aboba and padenot April 19, 2021 23:05
Comment thread index.src.html Outdated
Comment thread index.src.html Outdated
Comment thread index.src.html Outdated
Comment thread index.src.html
Comment thread index.src.html Outdated

@chcunningham chcunningham left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Editors call: looks good with minor comments addressed

@chcunningham

Copy link
Copy Markdown
Collaborator Author

Editors call: consider approved % addressing minor comments

@chcunningham chcunningham left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for reviewing.

Comment thread index.src.html Outdated
Comment thread index.src.html Outdated
Comment thread index.src.html
@chcunningham
chcunningham merged commit 4829102 into videoframe_clone_close May 5, 2021
@chcunningham

chcunningham commented May 5, 2021

Copy link
Copy Markdown
Collaborator Author

I'll merge this back to main manually

@chcunningham
chcunningham deleted the videoframe_from_canvasimagesource branch June 2, 2021 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants