Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: afdf40ad5538163f147e95c366c016ace785e3fa
      
https://github.com/WebKit/WebKit/commit/afdf40ad5538163f147e95c366c016ace785e3fa
  Author: Ahmad Saleem <[email protected]>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  Fix duplicate timeupdate events in Text Track Code

Fix duplicate timeupdate events in Text Track Code
https://bugs.webkit.org/show_bug.cgi?id=250741

Reviewed by Eric Carlson.

Merge - 
https://chromium.googlesource.com/chromium/blink/+/fd62a2259d085146f7fb275f99edb80e0e80243b

This change prevents duplicate timeupdate events caused by the text
track code. The comment above the call indicates that the timeupdate
event should have the same restrictions as the normal periodic
timeupdate event. By changing the parameter passed to
scheduleTimeupdateEvent() to true, the event rate limiting guards
are properly applied to this call and duplicate events won't
fire.

* Source/WebCore/html/HTMLMediaElement.cpp:
(HTMLMediaElement::updateActiveTextTrackCues): Update 'scheduleTimeUpdateEvent' 
to 'true' to have event rate limit

Canonical link: https://commits.webkit.org/259023@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to