From 1d7352e01196f482bd855d66dc36ca6c59fdb464 Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Sun, 13 Oct 2024 10:06:16 -0700 Subject: [PATCH] gstreamer1.0-plugins-nvvideosinks: drop obsolete patch Signed-off-by: Matt Madison --- .../0002-nv3dsink-memory-leak-fix.patch | 29 ------------------- ...1.0-plugins-nvvideosinks_1.14.0-r36.4.0.bb | 1 - 2 files changed, 30 deletions(-) delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks/0002-nv3dsink-memory-leak-fix.patch diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks/0002-nv3dsink-memory-leak-fix.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks/0002-nv3dsink-memory-leak-fix.patch deleted file mode 100644 index 29f8104a..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks/0002-nv3dsink-memory-leak-fix.patch +++ /dev/null @@ -1,29 +0,0 @@ -From cfddd2bd46c479f104fc3432bc9852a37ae3a477 Mon Sep 17 00:00:00 2001 -From: Matt Madison -Date: Sun, 17 Mar 2024 07:46:13 -0700 -Subject: [PATCH] nv3dsink memory leak fix - -See https://forums.developer.nvidia.com/t/gstreamer-nv3dsink-memory-gstcaps-leaks/283056/19 - -Upstream-Status: Pending - -Signed-off-by: Matt Madison ---- - nv3dsink/gstnv3dsink.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/nv3dsink/gstnv3dsink.c b/nv3dsink/gstnv3dsink.c -index c0a6adb..7ca5a37 100644 ---- a/nv3dsink/gstnv3dsink.c -+++ b/nv3dsink/gstnv3dsink.c -@@ -331,8 +331,10 @@ gst_nv3dsink_get_caps (GstBaseSink * bsink, GstCaps * filter) - - caps = gst_nv_video_context_get_caps (nv3dsink->context); - if (caps) { -+ tmp = result; - result = gst_caps_intersect (result, caps); - gst_caps_unref (caps); -+ gst_caps_unref (tmp); - } - - GST_DEBUG_OBJECT (bsink, "returning caps: %" GST_PTR_FORMAT, result); diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks_1.14.0-r36.4.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks_1.14.0-r36.4.0.bb index d69ee5d3..b42cb10b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks_1.14.0-r36.4.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvvideosinks_1.14.0-r36.4.0.bb @@ -9,7 +9,6 @@ TEGRA_SRC_SUBARCHIVE = "Linux_for_Tegra/source/libgstnvvideosinks_src.tbz2" require recipes-bsp/tegra-sources/tegra-sources-36.4.0.inc SRC_URI += "file://0001-build-fixups.patch" -SRC_URI += "file://0002-nv3dsink-memory-leak-fix.patch" DEPENDS = "gstreamer1.0 glib-2.0 gstreamer1.0-plugins-base virtual/egl \ tegra-libraries-multimedia tegra-libraries-multimedia-utils \