mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
a6409525ef
The libwebp API doesn't match very well with the GstVideoEncoder API, as it only delivers an unframed bitstream once all pictures have been processed, which means we can only push a single buffer manually on our srcpad on finish(). Supporting animated webp is still valuable, and the feature is behind an opt-in property. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5994>
20 lines
567 B
Meson
20 lines
567 B
Meson
webp_sources = [
|
|
'gstwebp.c',
|
|
'gstwebpdec.c',
|
|
'gstwebpenc.c',
|
|
]
|
|
|
|
webp_dep = dependency('libwebp', version : '>= 0.2.1', required : get_option('webp'))
|
|
webpmux_dep = dependency('libwebpmux', version : '>= 0.2.1', required : get_option('webp'))
|
|
|
|
if webp_dep.found() and webpmux_dep.found()
|
|
gstwebp = library('gstwebp',
|
|
webp_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, webp_dep, webpmux_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstwebp]
|
|
endif
|