Skip to content

Commit

Permalink
meson: pick up system bestsource library when available
Browse files Browse the repository at this point in the history
  • Loading branch information
odrling committed Jun 17, 2024
1 parent 9fb382c commit b9f147f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ needs_ffmpeg = false

if get_option('bestsource').enabled()
conf.set('WITH_BESTSOURCE', 1)
bs = subproject('bestsource', default_options: ['enable_plugin=false'])
deps += bs.get_variable('bestsource_dep')
deps = [dependency('bestsource', 'bestsource_dep', default_options: ['enable_plugin=false'], required: true)]
dep_avail += 'BestSource'
needs_ffmpeg = true
endif
Expand Down

0 comments on commit b9f147f

Please sign in to comment.