From a035bdca6bb11047cabb68c159c159cb03f3c640 Mon Sep 17 00:00:00 2001 From: Alexandre Esse Date: Fri, 10 Nov 2017 20:43:20 +0100 Subject: gst1-imx: bump version to 0.13.0 Changelog: ==== version 0.13.0 (2017-11-01) ==== * New imxv4l2videosink element Currently only supports input physically contiguous memory blocks as input (so, for example, no videotestsrc) * New Pango-based overlay elements using G2D for rendering * gstimxcommon library is now public Necessary when implementing external sinks to retrieve the mapped physical memory address from gstreamer buffers (NOTE: ABI may change in the next few releases until this is stabilized) * New optional ability to use GstPhysMemory from gst-plugins-bad * imxv4l2videosrc: * Fix compile prior to Gstreamer 1.3.1 * v4l2_buffer_pool: Add special case for tw6869 driver The tw6869 driver requires a different physical address to allow DMA'able buffers for decreasing latency between chip and display * v4l2src: add fractional "fps" property (obsoletes the "fps-n" property) * Add GstImxV4l2Meta init function This avoids the g_assert() that was caused by the missing init function * Add num-additional-buffers property This can be useful if capturing video isn't smooth; it sets the number of internal additional buffers, so if downstream consumes too many buffers, imxv4l2videosrc might end up doing a blocking wait until buffers are returned * imxv4l2src plugin is now called imxv4l2video, because it also contains imxv4l2videosink Also, the v4l2 elements can be enabled/disabled in the build configuration individually now * compositor: * Only copy compositor input buffers to DMA memory once If a single input frame is used for multiple output frames, we would otherwise copy multiple times which can easily go to the limit of the memory bandwidth * vpu: * Handle releasing of buffers without assigned framebuffer This can happen if the buffer is released before it was actually used, e.g. when renegotiating at the very beginning; prevents a crash that would otherwise occur * Add parameter check to avoid encoder crash on flush * g2d: * Add build configuration switches to explicitely specify G2D include and library paths * Disable cacheable memory allocation Several issues were reported with cacheable DMA memory, so it is turned off, at least for now * blitter: * Add property to clear screen to black in blitter sinks * Add output-rotation property to videotransform base class * audio: * Fix reference counting for caps * Mark static codec caps as may be leaked This gets rid of the false positive in the leak tracer Signed-off-by: Alexandre Esse Signed-off-by: Thomas Petazzoni --- package/gstreamer1/gst1-imx/gst1-imx.hash | 2 +- package/gstreamer1/gst1-imx/gst1-imx.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/gstreamer1') diff --git a/package/gstreamer1/gst1-imx/gst1-imx.hash b/package/gstreamer1/gst1-imx/gst1-imx.hash index e2e3971a2a..58ff4be225 100644 --- a/package/gstreamer1/gst1-imx/gst1-imx.hash +++ b/package/gstreamer1/gst1-imx/gst1-imx.hash @@ -1,2 +1,2 @@ # locally computed hash -sha256 999c093e38768e51d14abbe7836c09b666bcb89f03f34dd3697a6e5b5e4a4086 gst1-imx-0.12.3.tar.gz +sha256 3fcf1046ab8c6c7cd94218f4d2bc31ad7b5efa8a6b8f9fd5d93dc182f98ce026 gst1-imx-0.13.0.tar.gz diff --git a/package/gstreamer1/gst1-imx/gst1-imx.mk b/package/gstreamer1/gst1-imx/gst1-imx.mk index a21e2829be..c621c360f4 100644 --- a/package/gstreamer1/gst1-imx/gst1-imx.mk +++ b/package/gstreamer1/gst1-imx/gst1-imx.mk @@ -4,7 +4,7 @@ # ################################################################################ -GST1_IMX_VERSION = 0.12.3 +GST1_IMX_VERSION = 0.13.0 GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION)) GST1_IMX_LICENSE = LGPL-2.0+ -- cgit v1.2.1 From 599b3af68aac15969b0909d99bf0ba23ba305ac2 Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Tue, 21 Nov 2017 16:27:06 +0100 Subject: gst1-imx: fix v4l2 plugins disable options Latest bump to v0.13.0 didn't take care of the following upstream commit: 7bfbf71 v4l2: Rename to v4l2video and add switches to enable/disable sink/source To address that, this commit: - Uses the new name of the v4l2 source configure script option - Introduce a new Config.in option to control the build of the v4l2 sink support Fixes: http://autobuild.buildroot.net/results/5c404a2a28a4052056e5c9a7edda40641fe55f9e Signed-off-by: Gary Bisson Signed-off-by: Thomas Petazzoni --- package/gstreamer1/gst1-imx/Config.in | 6 ++++++ package/gstreamer1/gst1-imx/gst1-imx.mk | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'package/gstreamer1') diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 9f792d1c82..9b977bdde8 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -84,4 +84,10 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC help Elements for V4L2 capture +config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK + bool "imxv4l2videosink" + select BR2_PACKAGE_GST1_PLUGINS_BAD + help + Elements for V4L2 output + endif diff --git a/package/gstreamer1/gst1-imx/gst1-imx.mk b/package/gstreamer1/gst1-imx/gst1-imx.mk index c621c360f4..a8fe6fe041 100644 --- a/package/gstreamer1/gst1-imx/gst1-imx.mk +++ b/package/gstreamer1/gst1-imx/gst1-imx.mk @@ -83,10 +83,17 @@ GST1_IMX_CONF_OPTS += --disable-vpu endif ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC),y) -# There's no --enable-v4l2src option +# There's no --enable-imxv4l2videosrc option GST1_IMX_DEPENDENCIES += gst1-plugins-bad else -GST1_IMX_CONF_OPTS += --disable-v4l2src +GST1_IMX_CONF_OPTS += --disable-imxv4l2videosrc +endif + +ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK),y) +# There's no --enable-imxv4l2videosink option +GST1_IMX_DEPENDENCIES += gst1-plugins-bad +else +GST1_IMX_CONF_OPTS += --disable-imxv4l2videosink endif $(eval $(waf-package)) -- cgit v1.2.1