mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
711008674b
Add encoding target for streamming. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1965>
23 lines
949 B
Meson
23 lines
949 B
Meson
encoding_targetsdir = join_paths(get_option('datadir'),
|
|
'gstreamer-' + api_version, 'encoding-profiles')
|
|
|
|
encoding_targets = [
|
|
['file-extension', ['targets/file-extension/ogv.gep',
|
|
'targets/file-extension/oga.gep',
|
|
'targets/file-extension/mkv.gep',
|
|
'targets/file-extension/mp3.gep',
|
|
'targets/file-extension/webm.gep',
|
|
'targets/file-extension/flv.gep',
|
|
'targets/file-extension/mp4.gep',
|
|
'targets/file-extension/ts.gep',
|
|
'targets/file-extension/avi.gep',],
|
|
],
|
|
['online-services', ['targets/online-service/youtube.gep',]],
|
|
['device', ['targets/device/dvd.gep',]],
|
|
]
|
|
|
|
foreach path_targets : encoding_targets
|
|
dir = join_paths(encoding_targetsdir, path_targets.get(0))
|
|
etargets = path_targets.get(1)
|
|
install_data(sources: etargets, install_dir: dir)
|
|
endforeach
|