gstreamer/subprojects/gst-plugins-bad/ext/webp/meson.build
Mathieu Duponchelle a6409525ef webpenc: add support for animated WebP
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>
2024-02-02 17:23:08 +00:00

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