Skip to content

Commit

Permalink
[GStreamer] DMABUF sink not available for GStreamer 1.20 runtime
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=255912

Reviewed by Michael Catanzaro.

* Source/WebCore/platform/graphics/gstreamer/DMABufVideoSinkGStreamer.cpp:
(webKitDMABufVideoSinkProbePlatform): Enable the DMABuf sink for GStreamer 1.20 too.

Canonical link: https://commits.webkit.org/263459@main
  • Loading branch information
philn committed Apr 27, 2023
1 parent 786784f commit 4c8196f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -184,7 +184,7 @@ bool webKitDMABufVideoSinkIsEnabled()

bool webKitDMABufVideoSinkProbePlatform()
{
return webkitGstCheckVersion(1, 22, 0) && isGStreamerPluginAvailable("app");
return webkitGstCheckVersion(1, 20, 0) && isGStreamerPluginAvailable("app");
}

void webKitDMABufVideoSinkSetMediaPlayerPrivate(WebKitDMABufVideoSink* sink, MediaPlayerPrivateGStreamer* player)
Expand Down

0 comments on commit 4c8196f

Please sign in to comment.