mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
b47757e510
commit
0245479f3e
3 changed files with 15 additions and 1 deletions
|
@ -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
2
common
|
@ -1 +1 @@
|
|||
Subproject commit ea1409191cc1e71273b2dbdd94e7ab5fc5a60a51
|
||||
Subproject commit 1b24580b06e738f920b33ea68dffd83d953f0bba
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue