Skip to content

Commit

Permalink
[GStreamer] Do not link transcoder libraries with USE_GSTREAMER_FULL
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=279114

Reviewed by Philippe Normand.

All gstreamer-related libraries are linked in via the single gstreamer-full library
when using USE_GSTREAMER_FULL. The `NOT USE_GSTREAMER_FULL` check is done for the
other gstreamer libraries but was missing for transcoder libraries.

* Source/WebCore/platform/GStreamer.cmake:

Canonical link: https://commits.webkit.org/283147@main
  • Loading branch information
cadubentzen authored and philn committed Sep 4, 2024
1 parent 04457e8 commit 3a6f818
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Source/WebCore/platform/GStreamer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
endif ()

if (USE_GSTREAMER_TRANSCODER)
list(APPEND WebCore_LIBRARIES
${GSTREAMER_TRANSCODER_LIBRARIES}
)
if (NOT USE_GSTREAMER_FULL)
list(APPEND WebCore_LIBRARIES
${GSTREAMER_TRANSCODER_LIBRARIES}
)
endif ()
list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
${GSTREAMER_TRANSCODER_INCLUDE_DIRS}
)
Expand Down

0 comments on commit 3a6f818

Please sign in to comment.