Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit f276236

Browse files
authored
Include external FFMPEG headers. (#194)
1 parent c347164 commit f276236

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/video_coding/BUILD.gn

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ rtc_library("webrtc_h264") {
506506
]
507507

508508
defines = []
509+
include_dirs = []
509510

510511
deps = [
511512
":video_codec_interface",
@@ -542,6 +543,11 @@ rtc_library("webrtc_h264") {
542543
deps += [ "../../media:rtc_media_base" ]
543544
}
544545
}
546+
547+
if (owt_ffmpeg_root != "") {
548+
defines += [ "OWT_USE_FFMPEG" ]
549+
include_dirs += [ owt_ffmpeg_root + "/include" ]
550+
}
545551
}
546552

547553
rtc_library("webrtc_multiplex") {

0 commit comments

Comments
 (0)