Comment 57 for bug 1985057

Revision history for this message
Bin Li (binli) wrote :

For the patch in #51, it depends on below patch.

From a1f33a99df5756c3dedd68f5ba2690819098d14f Mon Sep 17 00:00:00 2001
From: James Hilliard <email address hidden>
Date: Wed, 1 Jun 2022 04:03:37 -0600
Subject: [PATCH] gst: dequeue a shared buffer instead of original pool buffer

This seems to prevent the pool buffer from getting corrupted.

Signed-off-by: James Hilliard <email address hidden>
---
 src/gst/gstpipewirepool.c | 7 ++-----
 src/gst/gstpipewirepool.h | 1 -
 src/gst/gstpipewiresink.c | 2 +-
 src/gst/gstpipewiresrc.c | 24 +++++++++++++-----------
 4 files changed, 16 insertions(+), 18 deletions(-)