| Summary: | [EME][GStreamer] remove m_cdmInstance ASSERT in cdmInstanceDetached | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Charlie Turner <cturner> | ||||||||||
| Component: | WebKitGTK | Assignee: | Charlie Turner <cturner> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | bugs-noreply, calvaris, cgarcia, eric.carlson, ews-watchlist, glenn, gustavo, jer.noble, menard, philipj, pnormand, sergio, vjaquez | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Charlie Turner
2020-04-10 03:41:16 PDT
Created attachment 396074 [details]
Patch
Created attachment 396081 [details]
Patch
Comment on attachment 396081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396081&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:-3788 > - if (m_cdmInstance != &instance) { > - GST_WARNING("passed CDMInstance %p is different from stored one %p", &instance, m_cdmInstance.get()); > - ASSERT_NOT_REACHED(); > - return; > - } I would still add this check inside the if, or even better, I would just bail out if (!m_cdmInstance). Created attachment 396261 [details]
Patch
Created attachment 396262 [details]
Patch
Manually add the reviewer field
Committed r260001: <https://trac.webkit.org/changeset/260001> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396262 [details]. |