How to transfer GstBuffer from one pipeline to other pipeline
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Jun 17 12:38:55 UTC 2020
Le jeudi 11 juin 2020 à 07:16 -0500, shiva.mudugal a écrit :
> 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
You can locate the code responsible for this assertion (dropping the
ref of an object that is owned elsewhere) with gdb and the environement
G_DEBUG.
G_DEBUG=fatal_criticals gdb --args ./my_app <args>
>
>
> -Regards,
> Shiva Kumar
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list