C code for rtp h264 decoding. I can't find how to solve the error. Read is insteresting

gagankumarnigam gagankumarnigam at bel.co.in
Fri Jul 3 22:19:58 PDT 2015


hi,
i tried your programe with modification as suggested by you in your blog as
put 90000 
"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" 
still i am getting the same error----------------

ERROR:rtpclient.c::pad_added_cb: assertion failed: (lres == GST_PAD_LINK_OK) 
in function

static void pad_added_cb (GstElement * rtpbin, GstPad * new_pad, GstElement
* depay)
{
  GstPad *sinkpad;
  GstPadLinkReturn lres;

  g_print ("new payload on pad: %s\n", GST_PAD_NAME (new_pad));

  sinkpad = gst_element_get_static_pad (depay, "sink");
  g_assert (sinkpad);

  lres = gst_pad_link (new_pad, sinkpad);
  g_assert (lres == GST_PAD_LINK_OK);
  gst_object_unref (sinkpad);

}






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/C-code-for-rtp-h264-decoding-I-can-t-find-how-to-solve-the-error-Read-is-insteresting-tp3242017p4672559.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list