mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
9eb55c3d8f
A setcaps function needs to actually verify the caps carefully. In this case, it was possible to e.g. link a video decoder with YUV+RGB template caps to pngenc. That would cause a crash when the decoder pushes a YUV buffer. Same thing when pushing a valid buffer that exceeds the resolution limits. Also, missing framerate caps field would cause a glib critical warning due to invalid GValue. This fails hard now.
10 lines
412 B
Makefile
10 lines
412 B
Makefile
plugin_LTLIBRARIES = libgstpng.la
|
|
|
|
libgstpng_la_SOURCES = gstpng.c gstpngenc.c gstpngdec.c
|
|
libgstpng_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(LIBPNG_CFLAGS)
|
|
libgstpng_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ \
|
|
$(GST_LIBS) $(LIBPNG_LIBS)
|
|
libgstpng_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstpng_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = gstpngdec.h gstpngenc.h
|