Custom GstMeta data dissapearing when received in a new pipeline

debruyn debruynels1 at gmail.com
Wed Jun 29 11:42:53 UTC 2016


Casting the GstMapFlag worked on GST_MAP_READWRITE but the assertion error
stil presists. Code snippet for the bufferprobe 

/* The actual stream buffer probe */
GstPadProbeReturn CamPipeline::bufferProbe(GstPad * _gstProbePad,
GstPadProbeInfo * _gstProbeInfo, gpointer _gstData)
{
    CamPipeline *oPipeObject = (CamPipeline*) _gstData;
    GstBuffer *gstBuffer = GST_PAD_PROBE_INFO_BUFFER(_gstProbeInfo);

    GstRTPBuffer rtpBuffer;
   // cout<<"asdsad"<<endl;
    if(gstBuffer != NULL)
    {
       
if(gst_rtp_buffer_map(gstBuffer,(GstMapFlags)GST_MAP_READWRITE,&rtpBuffer))
        {
            //g_print("extension
%d\n",gst_rtp_buffer_get_extension(&rtpBuffer));
            gst_rtp_buffer_unmap(&rtpBuffer);
        }
    }
    return GST_PAD_PROBE_OK;
}



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Custom-GstMeta-data-dissapearing-when-received-in-a-new-pipeline-tp4678272p4678303.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list