Bug 254661

Summary: SourceBufferPrivateClient::InitializationSegment should be using Ref<T>
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Radar WebKit Bug Importer
Comment 1 2023-03-29 06:58:18 PDT
Fady Farag
Comment 2 2025-03-19 15:24:23 PDT
Note You need to log in before you can comment on or make changes to this bug.