[gst-devel] Segmentation fault at following line ?

irfanshaikh irfanshaikh at tataelxsi.co.in
Thu Nov 6 15:53:34 CET 2008


Hi All,

       I am getting segmentation fault at either of the following commented
lines. Please can someone tell me how do i use these MACROS

for(m=0; m<pkt->payload_count; m++)
{
    if(pkt->payloads[m].key_frame == 1)
    {
        g_print("Inside IF\n");
        GST_BUFFER_OFFSET(outputbuf) = (guint64)1;
/*Segmentation fault*/
        GST_BUFFER_FLAG_SET (outputbuf, GST_BUFFER_FLAG_DELTA_UNIT);
/*Segmentation fault*/
        g_print("In Packet Payload %d consists of KEY FRAME\n", m);
     }
}


Regards,
Irfan


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.




More information about the gstreamer-devel mailing list