WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
230380
[Cocoa] Support in-band chapter tracks
https://bugs.webkit.org/show_bug.cgi?id=230380
Summary
[Cocoa] Support in-band chapter tracks
Eric Carlson
Reported
2021-09-16 16:37:49 PDT
Support in-band chapter tracks
Attachments
Patch
(461.59 KB, patch)
2021-09-27 11:12 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch
(461.57 KB, patch)
2021-09-27 15:11 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch
(463.17 KB, patch)
2021-09-27 17:07 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch for landing
(463.12 KB, patch)
2021-09-28 13:11 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-09-16 16:37:59 PDT
<
rdar://problem/83218578
>
Eric Carlson
Comment 2
2021-09-27 11:12:54 PDT
Created
attachment 439370
[details]
Patch
Eric Carlson
Comment 3
2021-09-27 15:11:16 PDT
Created
attachment 439398
[details]
Patch
Eric Carlson
Comment 4
2021-09-27 17:07:00 PDT
Created
attachment 439419
[details]
Patch
Jer Noble
Comment 5
2021-09-28 08:54:05 PDT
Comment on
attachment 439419
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=439419&action=review
r=me with nits and a question.
> Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.h:39 > +class InbandChapterTrackPrivateAVFObjC : public InbandTextTrackPrivate {
Nit: final.
> Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.h:51 > + int trackIndex() const override { return m_index; }
Ditto.
> Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.h:59 > + AtomString inBandMetadataTrackDispatchType() const override { return "com.apple.chapters"_s; }
Ditto.
> Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.mm:74 > + [item loadValuesAsynchronouslyForKeys:@[@"value"] completionHandler:[this, protectedThis = Ref { *this }, item = retainPtr(item), createChapterCue = WTFMove(createChapterCue), chapterNumber, identifier] () mutable {
WTFMove(createChapterCue) seems really weird here; won't that mean only the first iteration through the for loop has a valid lambda?
Eric Carlson
Comment 6
2021-09-28 13:11:23 PDT
Created
attachment 439509
[details]
Patch for landing
Eric Carlson
Comment 7
2021-09-29 08:11:34 PDT
Comment on
attachment 439509
[details]
Patch for landing The iOS API test failure is unrelated.
EWS
Comment 8
2021-09-29 08:32:07 PDT
Committed
r283217
(
242259@main
): <
https://commits.webkit.org/242259@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 439509
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug