Bug 226974 - [GStreamer] gst_element_get_request_pad deprecated in 1.20
Summary: [GStreamer] gst_element_get_request_pad deprecated in 1.20
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-14 08:43 PDT by Philippe Normand
Modified: 2021-06-16 08:17 PDT (History)
12 users (show)

See Also:


Attachments
Patch (2.78 KB, patch)
2021-06-14 08:44 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2021-06-14 08:43:13 PDT
[13/722] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GStreamerAudioMixer.cpp.o
../../Source/WebCore/platform/graphics/gstreamer/GStreamerAudioMixer.cpp:98:31: warning: 'gst_element_get_request_pad' is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations]
    auto mixerPad = adoptGRef(gst_element_get_request_pad(m_mixer.get(), "sink_%u"));
                              ^
/var/home/phil/gst-build/subprojects/gstreamer/./gst/gstelement.h:1041:23: note: 'gst_element_get_request_pad' has been explicitly marked deprecated here
extern __attribute__((__deprecated__("Use '" "gst_element_request_pad_simple" "' instead")))
                      ^
1 warning generated.
Comment 1 Philippe Normand 2021-06-14 08:44:55 PDT
Created attachment 431329 [details]
Patch
Comment 2 EWS 2021-06-16 08:16:47 PDT
Committed r278935 (238866@main): <https://commits.webkit.org/238866@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431329 [details].
Comment 3 Radar WebKit Bug Importer 2021-06-16 08:17:21 PDT
<rdar://problem/79398445>