WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
254661
SourceBufferPrivateClient::InitializationSegment should be using Ref<T>
https://bugs.webkit.org/show_bug.cgi?id=254661
Summary
SourceBufferPrivateClient::InitializationSegment should be using Ref<T>
Jean-Yves Avenard [:jya]
Reported
2023-03-29 06:57:58 PDT
``` struct AudioTrackInformation { RefPtr<MediaDescription> description; RefPtr<AudioTrackPrivate> track; }; Vector<AudioTrackInformation> audioTracks; struct VideoTrackInformation { RefPtr<MediaDescription> description; RefPtr<VideoTrackPrivate> track; }; Vector<VideoTrackInformation> videoTracks; struct TextTrackInformation { RefPtr<MediaDescription> description; RefPtr<InbandTextTrackPrivate> track; }; ``` They can never be null, I believe RefPtr was used as Ref<t> didn't exist at the time
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-03-29 06:58:18 PDT
<
rdar://problem/107366003
>
Fady Farag
Comment 2
2025-03-19 15:24:23 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/42714
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