Bug 254661
| Summary: | SourceBufferPrivateClient::InitializationSegment should be using Ref<T> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | 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]
```
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
<rdar://problem/107366003>
Fady Farag
Pull request: https://github.com/WebKit/WebKit/pull/42714