[gst-cvs] gst-plugins-good: multifdsink: use refcount to count host/port duplicates

Wim Taymans wtay at kemper.freedesktop.org
Mon Sep 6 01:46:04 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 6660817af14d6cf740cc296af6751e9665f928b8
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=6660817af14d6cf740cc296af6751e9665f928b8

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Aug 20 15:35:27 2010 +0200

multifdsink: use refcount to count host/port duplicates

Instead of adding multiple client structures for the same host/port pair, use a
refcount.
Add a send-duplicates feature that allows you to disable sending multiple copies
of the same packet to the same host when it was added multiple times. The
send-duplicates property is by default set to TRUE for backwards compatibility
although it is very likely that this is not desired behaviour.

---

 gst/udp/gstmultiudpsink.c |  246 +++++++++++++++++++++++++++++---------------
 gst/udp/gstmultiudpsink.h |    4 +
 2 files changed, 166 insertions(+), 84 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-good/diff/?id=6660817af14d6cf740cc296af6751e9665f928b8




More information about the Gstreamer-commits mailing list