Skip to content

Commit 021946d

Browse files
committed
[GStreamer] Do not link transcoder libraries with USE_GSTREAMER_FULL
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
1 parent e628ffd commit 021946d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Source/WebCore/platform/GStreamer.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,11 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
162162
endif ()
163163

164164
if (USE_GSTREAMER_TRANSCODER)
165-
list(APPEND WebCore_LIBRARIES
166-
${GSTREAMER_TRANSCODER_LIBRARIES}
167-
)
165+
if (NOT USE_GSTREAMER_FULL)
166+
list(APPEND WebCore_LIBRARIES
167+
${GSTREAMER_TRANSCODER_LIBRARIES}
168+
)
169+
endif ()
168170
list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
169171
${GSTREAMER_TRANSCODER_INCLUDE_DIRS}
170172
)

0 commit comments

Comments
 (0)