gst/udp/gstudpsrc.c: Patch from Sebastien Cote to close control sockets in udpsrc.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_stop):
Patch from Sebastien Cote to close control sockets in udpsrc.
This commit is contained in:
Sebastien Cote 2005-11-25 18:03:24 +00:00 committed by Michael Smith
parent b47757e510
commit 0245479f3e
3 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-11-25 Michael Smith <msmith@fluendo.com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_stop):
Patch from Sebastien Cote to close control sockets in udpsrc.
2005-11-24 Julien MOUTTE <julien@moutte.net>
* gst/effectv/gstquark.c: (gst_quarktv_set_caps),

2
common

@ -1 +1 @@
Subproject commit ea1409191cc1e71273b2dbdd94e7ab5fc5a60a51
Subproject commit 1b24580b06e738f920b33ea68dffd83d953f0bba

View file

@ -588,6 +588,15 @@ gst_udpsrc_stop (GstBaseSrc * bsrc)
close (src->sock);
src->sock = -1;
}
if (src->control_sock[0] != -1) {
close (src->control_sock[0]);
src->control_sock[0] = -1;
}
if (src->control_sock[1] != -1) {
close (src->control_sock[1]);
src->control_sock[1] = -1;
}
return TRUE;
}