[Bug 767980] updsink receive all multicast RTP packet from udpsrc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 24 07:29:55 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767980

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #330278|none                        |needs-work
             status|                            |

--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 330278:
 --> (https://bugzilla.gnome.org/review?bug=767980&attachment=330278)

::: gst/udp/gstudpsrc.c
@@ +184,3 @@
+      AF_INET);
+  message->addr =
+      g_inet_address_new_from_bytes ((guint8 *) & pktinfo->ipi_addr, AF_INET);

To make this less of a performance killer and adding 1000 new lines of
boilerplate, I'm going to make one GObject for all 3 message types and also
just store the struct in_addr in there instead of creating even more GObjects.

Who designed the control message API in GLib /o\

-- 
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