mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-11-01 21:07:59 +00:00
gstreamer1.0-plugins-nvvideosinks: drop obsolete patch
Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
28833cd412
commit
1d7352e011
@@ -1,29 +0,0 @@
|
|||||||
From cfddd2bd46c479f104fc3432bc9852a37ae3a477 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matt Madison <matt@madison.systems>
|
|
||||||
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 <matt@madison.systems>
|
|
||||||
---
|
|
||||||
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);
|
|
||||||
@@ -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
|
require recipes-bsp/tegra-sources/tegra-sources-36.4.0.inc
|
||||||
|
|
||||||
SRC_URI += "file://0001-build-fixups.patch"
|
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 \
|
DEPENDS = "gstreamer1.0 glib-2.0 gstreamer1.0-plugins-base virtual/egl \
|
||||||
tegra-libraries-multimedia tegra-libraries-multimedia-utils \
|
tegra-libraries-multimedia tegra-libraries-multimedia-utils \
|
||||||
|
|||||||
Reference in New Issue
Block a user