WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
246634
AudioSourceProviderAVFObjC::m_client should be Weak
https://bugs.webkit.org/show_bug.cgi?id=246634
Summary
AudioSourceProviderAVFObjC::m_client should be Weak
Jer Noble
Reported
2022-10-17 09:14:00 PDT
AudioSourceProviderAVFObjC::m_client should be Weak
Attachments
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2022-10-17 09:14:11 PDT
<
rdar://problem/100804084
>
Jer Noble
Comment 2
2022-10-17 09:21:31 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/5446
EWS
Comment 3
2022-10-19 11:26:40 PDT
Committed
255745@main
(9290cdbf360c): <
https://commits.webkit.org/255745@main
> Reviewed commits have been landed. Closing PR #5446 and removing active labels.
Michael Catanzaro
Comment 4
2022-10-19 12:35:47 PDT
This introduced a bug in a debug print: [1072/2475] Building CXX object Source/WebCore/CMakeFiles...atform/audio/gstreamer/AudioSourceProviderGStreamer.cpp.o In file included from /usr/include/gstreamer-1.0/gst/gst.h:55, from /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:24, from /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.h:25, from /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:20: /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp: In member function ‘virtual void WebCore::AudioSourceProviderGStreamer::setClient(WTF::WeakPtr<WebCore::AudioSourceProviderClient>&&)’: /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:257:40: warning: format ‘%p’ expects argument of type ‘void*’, but argument 8 has type ‘WTF::WeakPtr<WebCore::AudioSourceProviderClient>’ [-Wformat=] 257 | GST_DEBUG_OBJECT(m_pipeline.get(), "Setting up client %p (previous: %p)", newClient, client()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:257:60: note: format string is defined here 257 | GST_DEBUG_OBJECT(m_pipeline.get(), "Setting up client %p (previous: %p)", newClient, client()); | ~^ | | | void* I will submit a follow-up.
Michael Catanzaro
Comment 5
2022-10-19 13:01:30 PDT
Re-opening for pull request
https://github.com/WebKit/WebKit/pull/5553
EWS
Comment 6
2022-10-19 15:26:55 PDT
Committed
255761@main
(e54634760b76): <
https://commits.webkit.org/255761@main
> Reviewed commits have been landed. Closing PR #5553 and removing active labels.
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