Bug 138806

Summary: media/track/track-in-band-cues-added-once.html fails sometimes
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=123498
https://bugs.webkit.org/show_bug.cgi?id=132715
https://bugs.webkit.org/show_bug.cgi?id=138908
Attachments:
Description Flags
Proposed patch. none

Description Alexey Proskuryakov 2014-11-17 13:49:56 PST
I'm seeing these failures again:

@@ -24,5 +24,10 @@
 EVENT(seeked)
 EXPECTED (inbandTrack1.cues.length > '0') OK
 RUN(video.pause())
+Found unexpected cue starting at 0.2 FAIL
+Found unexpected cue starting at 1.0008333333333332 FAIL
+Found unexpected cue starting at 1.7682333333333333 FAIL
+Found unexpected cue starting at 2.4355333333333333 FAIL
+Found unexpected cue starting at 2.769233333333333 FAIL
 END OF TEST
Comment 1 Radar WebKit Bug Importer 2014-11-17 13:50:29 PST
<rdar://problem/19006312>
Comment 2 Alexey Proskuryakov 2014-11-17 13:52:27 PST
Marked as flaky in <http://trac.webkit.org/r176228>.
Comment 3 Eric Carlson 2015-01-29 13:05:11 PST
As with bug 140974, it looks like this happens when AVFoundation doesn't deliver the first cue when playback starts - presumably because of startup latency.
Comment 4 Eric Carlson 2015-01-29 14:48:43 PST
Created attachment 245652 [details]
Proposed patch.
Comment 5 Brent Fulgham 2015-01-29 15:02:36 PST
Comment on attachment 245652 [details]
Proposed patch.

r=me
Comment 6 WebKit Commit Bot 2015-01-29 16:04:37 PST
Comment on attachment 245652 [details]
Proposed patch.

Clearing flags on attachment: 245652

Committed r179378: <http://trac.webkit.org/changeset/179378>
Comment 7 WebKit Commit Bot 2015-01-29 16:04:41 PST
All reviewed patches have been landed.  Closing bug.