mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
add gstreamer-vaapi as a possible subproject
https://bugzilla.gnome.org/show_bug.cgi?id=778407
This commit is contained in:
parent
5a06cf2807
commit
a6ae14b612
4 changed files with 15 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,6 +10,7 @@ gst-plugins-ugly
|
|||
gst-python
|
||||
gst-rtsp-server
|
||||
gstreamer
|
||||
gstreamer-vaapi
|
||||
__pycache__
|
||||
meson/
|
||||
subprojects/gst-devtools/
|
||||
|
@ -23,4 +24,5 @@ subprojects/gst-plugins-ugly/
|
|||
subprojects/gst-python/
|
||||
subprojects/gst-rtsp-server/
|
||||
subprojects/gstreamer/
|
||||
subprojects/gstreamer-vaapi/
|
||||
subprojects/glib/
|
||||
|
|
|
@ -59,6 +59,14 @@ if not get_option('disable_gst_omx')
|
|||
subprojects += ['gst-omx']
|
||||
endif
|
||||
|
||||
if not get_option('disable_gstreamer_vaapi')
|
||||
if dependency('libva', version: '>= 0.30.4', required : false).found()
|
||||
subprojects += ['gstreamer-vaapi']
|
||||
else
|
||||
message('WARNING: not building gstreamer-vaapi module, missing libva')
|
||||
endif
|
||||
endif
|
||||
|
||||
if not get_option('disable_gst_devtools')
|
||||
if dependency('json-glib-1.0', required : false).found()
|
||||
subprojects += ['gst-devtools']
|
||||
|
|
|
@ -6,3 +6,4 @@ option('disable_gst_devtools', type : 'boolean', value : false)
|
|||
option('disable_gst_editing_services', type : 'boolean', value : false)
|
||||
option('disable_rtsp_server', type : 'boolean', value : false)
|
||||
option('disable_gst_omx', type : 'boolean', value : true)
|
||||
option('disable_gstreamer_vaapi', type : 'boolean', value : false)
|
||||
|
|
4
subprojects/gstreamer-vaapi.wrap
Normal file
4
subprojects/gstreamer-vaapi.wrap
Normal file
|
@ -0,0 +1,4 @@
|
|||
[wrap-git]
|
||||
directory=gstreamer-vaapi
|
||||
url=https://anongit.freedesktop.org/git/gstreamer/gstreamer-vaapi.git
|
||||
revision=master
|
Loading…
Reference in a new issue