RESOLVED FIXED 210331
[EME][GStreamer] remove m_cdmInstance ASSERT in cdmInstanceDetached
https://bugs.webkit.org/show_bug.cgi?id=210331
Summary [EME][GStreamer] remove m_cdmInstance ASSERT in cdmInstanceDetached
Charlie Turner
Reported 2020-04-10 03:41:16 PDT
[EME][GStreamer] remove m_cdmInstance ASSERT in cdmInstanceDetached
Attachments
Patch (2.73 KB, patch)
2020-04-10 05:08 PDT, Charlie Turner
no flags
Patch (2.73 KB, patch)
2020-04-10 07:40 PDT, Charlie Turner
no flags
Patch (3.51 KB, patch)
2020-04-13 02:50 PDT, Charlie Turner
no flags
Patch (2.86 KB, patch)
2020-04-13 02:52 PDT, Charlie Turner
no flags
Charlie Turner
Comment 1 2020-04-10 05:08:33 PDT
Charlie Turner
Comment 2 2020-04-10 07:40:13 PDT
Xabier Rodríguez Calvar
Comment 3 2020-04-10 08:10:16 PDT
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).
Charlie Turner
Comment 4 2020-04-13 02:50:10 PDT
Charlie Turner
Comment 5 2020-04-13 02:52:16 PDT
Created attachment 396262 [details] Patch Manually add the reviewer field
EWS
Comment 6 2020-04-13 03:18:33 PDT
Committed r260001: <https://trac.webkit.org/changeset/260001> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396262 [details].
Note You need to log in before you can comment on or make changes to this bug.