RESOLVED FIXED299656
[GStreamer] Build broken when using GStreamer 1.27.2 built from tarballs
https://bugs.webkit.org/show_bug.cgi?id=299656
Summary [GStreamer] Build broken when using GStreamer 1.27.2 built from tarballs
dueffert
Reported 2025-09-27 04:02:27 PDT
Commit 77738c8819ec805909deb441764c0a4a72309809 introduces using gst_pad_probe_info_set_buffer, which according to gstreamer documentation will be in version 1.28 of gstreamer. But it was only added to gstreamer git September 9th, i.e. 2 days after their latest development release 1.27.2 . There are related GST_CHECK_VERSIONs in above commit, but they check for version 1.27.0 - which does not contain gst_pad_probe_info_set_buffer yet. Changing those 2 checks to e.g. GST_CHECK_VERSION(1, 28, 0) allows me to compile webkitgtk-2.50.0 and and webkitgetk-2.48.7 both containing the commit in question.
Attachments
Philippe Normand
Comment 1 2025-09-27 07:22:37 PDT
There is no 1.28.0 release yet, so changing those ifdefs to 1.28.0 isn't right imho. Until then, if you have a gstreamer git checkout it is your responsibility to keep it up-to-date. When 1.28.0 is released, the ifdefs will be updated accordingly :)
dueffert
Comment 2 2025-09-27 20:48:08 PDT
I'm not sure either whether GST_CHECK_VERSION(1, 28, 0) would be right. Just an assumption based on their claim "Since 1.28" in https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html . Maybe GST_CHECK_VERSION(1, 27, 3) will turn out to be more correct. I agree that it would be my responsibility to keep some gstreamer git checkout uptodate. But I never had one and do not intent to change that. Instead, I used their released gstreamer-1.27.2 - and that does not contain gst_pad_probe_info_set_buffer yet, so IMHO GST_CHECK_VERSION(1, 27, 0) is clearly wrong...
Philippe Normand
Comment 3 2025-09-28 05:33:01 PDT
Ah sorry I thought you were using a gstreamer git checkout. Maybe changing the ifdefs to "GST_CHECK_VERSION(1, 27, 3) || GST_CHECK_VERSION(1, 28, 0)" would work then?
Philippe Normand
Comment 4 2025-09-28 05:34:59 PDT
Might break with current gstreamer git checkouts where the version is 1.27.2.1 though... i can take a look this week...
Philippe Normand
Comment 5 2025-09-28 07:45:45 PDT Comment hidden (spam)
Philippe Normand
Comment 6 2025-09-29 02:02:47 PDT
EWS
Comment 7 2025-09-30 00:54:29 PDT
Committed 300744@main (61a456e19153): <https://commits.webkit.org/300744@main> Reviewed commits have been landed. Closing PR #51492 and removing active labels.
Radar WebKit Bug Importer
Comment 8 2025-09-30 00:55:12 PDT
Note You need to log in before you can comment on or make changes to this bug.