This reverts commit e51937dfc5567b6ce53bd1211799dbdaff8b268e. Reason for revert: This change was not intended to land yet. Original change's description: > PipeWire capturer: advertise DMA-BUF support when really supported > > We need to check the PipeWire server version in order to be sure we can > advertise DMA-BUF support, because it doesn't mean the version of > PipeWire we built our code against will run against the same PipeWire > version. Also do not announce DMA-BUF support for PipeWire older than > 0.3.24 as this will not be working. For DMA-BUF modifiers support we > need the PipeWire version to be at least 0.3.33 on both sides (client > and server). Last but not least minor fix is not to announce > modifier-less DMA-BUF support when we don't have required extension. > > Bug: chromium:1233417 > Change-Id: Iee035d61bbc9d5878621555c365751ee4edc9d28 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239649 > Reviewed-by: Mark Foltz <mfoltz@chromium.org> > Commit-Queue: Jan Grulich <grulja@gmail.com> > Cr-Commit-Position: refs/heads/main@{#35696} TBR=tommi@webrtc.org,jansson@google.com,sprang@chromium.org,grulja@gmail.com,mfoltz@chromium.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: I2aff8ca2650aa14932c0bd15bdc4f30f406f91de No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:1233417 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/246401 Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Owners-Override: Christoffer Jansson <jansson@google.com> Commit-Queue: Christoffer Jansson <jansson@google.com> Cr-Commit-Position: refs/heads/main@{#35697}