Skip to content

Conversation

@nsthorat
Copy link
Contributor

@nsthorat nsthorat commented Aug 30, 2019

This now checks the natural video width for videos as well as removing the check for document.readyState (which is not needed, verified in a local client).

This also fixes a bug where if the video isn't ready the user gets an opaque error about [0x0] textures, this throws a friendly error about waiting for the right event on the video tag.


This change is Reviewable

Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @dsmilkov)

@nsthorat nsthorat merged commit 54bf277 into master Sep 4, 2019
@nsthorat nsthorat deleted the domready branch September 4, 2019 00:59
TomLuna added a commit to LunaOn/tfjs that referenced this pull request Sep 4, 2019
* 'master' of https://github.com/lunaon/tfjs:
  Throw a better error message when using negative begin indexing. (tensorflow#1965)
  [tfjs-core] Fix browser.fromPixels to work without needing read… (tensorflow#1947)
  [tfjs] Fix security vulnerability for tfjs. (tensorflow#1966)
  Remove the systemFetch export from platform_node (tensorflow#1963)
  Fix the release script to work with other repos (website). (tensorflow#1922)
  webgpu: Bump dependency and version. (tensorflow#1962)
  change location of logs (tensorflow#1961)
  [tfjs-core] Upstream the closure fixes (tensorflow#1960)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants