[Bug 750036] dtls: wrong management of pads in releasing operation
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 28 07:14:53 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=750036
--- Comment #3 from sancane <sancane.kurento at gmail.com> ---
Next piece of code reproduces this bug:
#include <gst/gst.h>
#include <glib.h>
int
main (int argc,
char *argv[])
{
GstElement *dtlssrtpdec;
GstPad *data_pad;
gst_init (&argc, &argv);
dtlssrtpdec = gst_element_factory_make ("dtlssrtpdec", NULL);
if (dtlssrtpdec == NULL) {
g_printerr ("dtlssrtpdec could not be created. Exiting.\n");
return -1;
}
data_pad = gst_element_get_request_pad (dtlssrtpdec, "data_src");
if (data_pad == NULL) {
g_printerr ("data_pad could not get data_src pad. Exiting.\n");
return -1;
}
GST_INFO ("Releasing pad %" GST_PTR_FORMAT, data_pad);
gst_element_release_request_pad (dtlssrtpdec, data_pad);
GST_DEBUG ("Bye__");
gst_object_unref (GST_OBJECT (data_pad));
gst_object_unref (GST_OBJECT (dtlssrtpdec));
return 0;
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list