Bug 207467 - Support in-band VTT captions when loading media in the GPU Process
Summary: Support in-band VTT captions when loading media in the GPU Process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-10 09:12 PST by Eric Carlson
Modified: 2020-02-12 08:41 PST (History)
20 users (show)

See Also:


Attachments
Patch (121.19 KB, patch)
2020-02-10 10:42 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch (123.75 KB, patch)
2020-02-10 11:16 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch (124.15 KB, patch)
2020-02-10 11:23 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch (123.38 KB, patch)
2020-02-11 06:04 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch for landing (124.27 KB, patch)
2020-02-11 08:38 PST, Eric Carlson
no flags Details | Formatted Diff | Diff
Patch for landing (127.52 KB, patch)
2020-02-11 10:17 PST, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2020-02-10 09:12:36 PST
Support in-band VTT captions when loading media in the GPU Process
Comment 1 Radar WebKit Bug Importer 2020-02-10 09:12:46 PST
<rdar://problem/59312749>
Comment 2 Eric Carlson 2020-02-10 10:42:58 PST
Created attachment 390263 [details]
Patch
Comment 3 Eric Carlson 2020-02-10 11:16:09 PST
Created attachment 390270 [details]
Patch
Comment 4 Eric Carlson 2020-02-10 11:23:56 PST
Created attachment 390273 [details]
Patch
Comment 5 Eric Carlson 2020-02-10 13:00:45 PST
The mac-wk1 test failures are happening because inspector/console/webcore-logging.html enabled verbose media logging and them timed out without disabling logging again, so every media test that ran afterwards has unexpected console logging.
Comment 6 Jer Noble 2020-02-10 13:19:02 PST
Comment on attachment 390273 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390273&action=review

> Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.messages.in:60
> +    ## AddDataCue(MediaTime start, MediaTime end, IPC::DataReference data)
> +    ## AddDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data, String type)
> +    ## UpdateDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data)
> +    ## RemoveDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data)
> +
> +    ## AddGenericCue(WebCore::GenericCueData cue)
> +    ## UpdateGenericCue(WebCore::GenericCueData cue)
> +    ## RemoveGenericCue(WebCore::GenericCueData cue)

Are these supposed to be left in?

> Source/WebKit/WebProcess/GPU/media/TextTrackPrivateRemote.messages.in:40
> +    ## AddDataCue(MediaTime start, MediaTime end, IPC::DataReference data)
> +    ## AddDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data, String type)
> +    ## UpdateDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data)
> +    ## RemoveDataCue(MediaTime start, MediaTime end, WebCore::SerializedPlatformRepresentation data)
> +
> +    ## AddGenericCue(WebCore::GenericCueData cue)
> +    ## UpdateGenericCue(WebCore::GenericCueData cue)
> +    ## RemoveGenericCue(WebCore::GenericCueData cue)

Ditto.
Comment 7 Eric Carlson 2020-02-11 06:04:52 PST
Created attachment 390356 [details]
Patch
Comment 8 Eric Carlson 2020-02-11 08:38:54 PST
Created attachment 390371 [details]
Patch for landing
Comment 9 Eric Carlson 2020-02-11 10:17:28 PST
Created attachment 390383 [details]
Patch for landing
Comment 10 WebKit Commit Bot 2020-02-11 13:38:04 PST
Comment on attachment 390383 [details]
Patch for landing

Clearing flags on attachment: 390383

Committed r256353: <https://trac.webkit.org/changeset/256353>
Comment 11 WebKit Commit Bot 2020-02-11 13:38:07 PST
All reviewed patches have been landed.  Closing bug.
Comment 12 Carlos Alberto Lopez Perez 2020-02-11 18:59:54 PST
Build fix for GTK/WPE Debug landed in https://trac.webkit.org/changeset/256421
Comment 13 Eric Carlson 2020-02-12 08:41:53 PST
(In reply to Carlos Alberto Lopez Perez from comment #12)
> Build fix for GTK/WPE Debug landed in
> https://trac.webkit.org/changeset/256421

Thanks for the fix Carlos, sorry I missed that!