WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
183004
[GStreamer] Rewrite purgeInvalid*Tracks methods
https://bugs.webkit.org/show_bug.cgi?id=183004
Summary
[GStreamer] Rewrite purgeInvalid*Tracks methods
Philippe Normand
Reported
2018-02-21 08:37:21 PST
Removing items from a hashmap while iterating is no good.
Attachments
Patch
(3.34 KB, patch)
2018-02-21 08:40 PST
,
Philippe Normand
cgarcia
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2018-02-21 08:40:02 PST
Created
attachment 334382
[details]
Patch
Carlos Garcia Campos
Comment 2
2018-02-21 08:46:10 PST
Comment on
attachment 334382
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=334382&action=review
> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1458 > + m_audioTracks.removeIf([&](auto& keyAndValue) {
I prefer to explicitly capture validTrackIds& only
Philippe Normand
Comment 3
2018-02-21 09:01:16 PST
Committed
r228875
: <
https://trac.webkit.org/changeset/228875
>
Radar WebKit Bug Importer
Comment 4
2018-02-21 09:02:38 PST
<
rdar://problem/37747568
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug