| Summary: | [MSE][GStreamer] Remove m_appendPipelinesMap | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alicia Boya García <aboya> | ||||||
| Component: | WebKitGTK | Assignee: | Alicia Boya García <aboya> | ||||||
| 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
Alicia Boya García
2020-07-09 05:13:32 PDT
Created attachment 403857 [details]
Patch
Comment on attachment 403857 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403857&action=review > Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:78 > +void SourceBufferPrivateGStreamer::finishCreation() > +{ > + // Initializing the append pipeline must happen after Ref<SourceBufferPrivateGStreamer> has been constructed and > + // adopted, otherwise the makeRef() below would crash on ASSERT(!m_adoptionIsRequired). > + ASSERT(!m_appendPipeline); > + m_appendPipeline = WTF::makeUnique<AppendPipeline>(m_client, makeRef(*this), m_playerPrivate); > +} You don't need this, just call relaxAdoptionRequirement() in SourceBufferPrivateGStreamer::SourceBufferPrivateGStreamer() and you should be good. Created attachment 403866 [details]
Patch for landing
Committed r264175: <https://trac.webkit.org/changeset/264175> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403866 [details]. |