After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509531 - Make the auto-join/auto-leaving of a multicast group optional in multiudpsink
Make the auto-join/auto-leaving of a multicast group optional in multiudpsink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-15 01:33 UTC by Olivier Crête
Modified: 2008-01-17 11:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add auto-multicast property on multiudpsink (3.98 KB, patch)
2008-01-15 01:34 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2008-01-15 01:33:39 UTC
Currently, multiudpsink automatically joins/leaves a multicast group if a multicast address is given to it. If the same socket is shared between a udpsrc and a multiudpsink, that prevents me from controlling if packets are send to multicast group indenpendently from the source.

I'm attaching a patch that add a auto-multicast property that controls whether the element will do the joining itself or let the application do it.
Comment 1 Olivier Crête 2008-01-15 01:34:24 UTC
Created attachment 102873 [details] [review]
Add auto-multicast property on multiudpsink
Comment 2 Wim Taymans 2008-01-17 11:13:19 UTC
        Patch by: Olivier Crete <tester at tester dot ca>

        * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
        (gst_multiudpsink_init), (gst_multiudpsink_set_property),
        (gst_multiudpsink_get_property), (gst_multiudpsink_init_send),
        (gst_multiudpsink_add_internal), (gst_multiudpsink_remove):
        * gst/udp/gstmultiudpsink.h:
        Add property to automatically join a multicast group or not. This can be
        useful when sharing a socket between multiple elements.
        Fixes #509531.