How to transfer GstBuffer from one pipeline to other pipeline

shiva.mudugal shiva.mudugal at
Thu Jun 11 12:16:07 UTC 2020

Hi All,

I have two pipelines, as below.

pipeline 1 :  udpsrc -> rtpjpegdepay -> jpegdec -> appsink

pipeline 2 : appsrc -> identity -> appsink

When i get GstBuffer from first pipeline from callback, I just want to push
that buffer (gst_app_src_push_buffer) to second pipeline. I want let second
pipeline to handle the buffer and its ownership.

How to handle this scenario. Note: Am using gstreamer version 1.16.2

Right now am getting below error :

(vmss_server:14439): GStreamer-WARNING **: free_priv_data: object finalizing
but still has parent (object:0x7fe0c8129ea0, parent:0x7fe0c8112b60)

(vmss_server:14439): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'GST_MINI_OBJECT_REFCOUNT_VALUE (mini_object) > 0' failed

Shiva Kumar 

Sent from:

More information about the gstreamer-devel mailing list