1. 21 Mar, 2010 1 commit
  2. 18 Mar, 2010 1 commit
  3. 10 Mar, 2010 1 commit
    • Wim Taymans's avatar
      udp: use uri parsing code · 455f53c8
      Wim Taymans authored
      Use the uri parsing helper functions to manage the host and port pairs. This
      adds support for IPV6.
      455f53c8
  4. 16 Jun, 2009 1 commit
  5. 27 Apr, 2009 1 commit
  6. 31 Mar, 2009 1 commit
  7. 13 Mar, 2009 2 commits
  8. 25 Feb, 2009 3 commits
  9. 24 Feb, 2009 1 commit
  10. 23 Feb, 2009 1 commit
    • Aurelien Grimaud's avatar
      Read ICMP error messages instead of looping · 969622b4
      Aurelien Grimaud authored
      When we are dealing with connected sockets shared between a udpsrc and a udpsink
      we might receive ICMP connection refused error messages in udpsrc that will
      cause it to go into a bursty loop because the poll returns right away without a
      message to read.
      
      Instead of looping, read the error message from the error queue in udpsrc.
      Fixes #567857.
      969622b4
  11. 28 Jan, 2009 2 commits
  12. 20 Nov, 2008 1 commit
    • Michael Smith's avatar
      gst/udp/: Fix multiudpsink on OSX by passing the specific length of the... · 9b372f1b
      Michael Smith authored
      gst/udp/: Fix multiudpsink on OSX by passing the specific length of the socket, refactor that into a function shared ...
      
      Original commit message from CVS:
      * gst/udp/gstmultiudpsink.c:
      * gst/udp/gstudpnetutils.c:
      * gst/udp/gstudpnetutils.h:
      * gst/udp/gstudpsrc.c:
      Fix multiudpsink on OSX by passing the specific length of the socket,
      refactor that into a function shared with the same thing in udpsrc.
      9b372f1b
  13. 27 Oct, 2008 1 commit
    • Sebastian Dröge's avatar
      gst/udp/: Fix "argument type mismatch" compiler warnings on Windows. · cbec4b2d
      Sebastian Dröge authored
      Original commit message from CVS:
      Patch by: <lrn1986 at gmail dot com>
      * gst/udp/gstdynudpsink.c: (gst_dynudpsink_render):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render):
      * gst/udp/gstudpsrc.c: (gst_udpsrc_create):
      Fix "argument type mismatch" compiler warnings on Windows.
      Fixes bug #557293.
      cbec4b2d
  14. 25 Sep, 2008 2 commits
    • Wim Taymans's avatar
      gst/udp/gstudpsrc.c: Switch on the socket family to get the addrlen size right. · 712cd620
      Wim Taymans authored
      Original commit message from CVS:
      * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
      (gst_udpsrc_set_uri), (gst_udpsrc_start):
      Switch on the socket family to get the addrlen size right.
      712cd620
    • Daniel Franke's avatar
      gst/udp/gstudpsrc.c: OS X's bind() implementation is picky about its addrlen... · edd62399
      Daniel Franke authored
      gst/udp/gstudpsrc.c: OS X's bind() implementation is picky about its addrlen parameter and fails with EINVAL if it is...
      
      Original commit message from CVS:
      Patch by: Daniel Franke <df at dfranke dot us>
      * gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start):
      OS X's bind() implementation is picky about its addrlen parameter and
      fails with EINVAL if it is larger than expected for the socket's address
      family. Set the length to the expected length instead. Fixes #553191.
      edd62399
  15. 20 Aug, 2008 1 commit
    • Peter Kjellerstedt's avatar
      gst/udp/: Avoid leaking internally allocated file descriptors when setting... · 74314914
      Peter Kjellerstedt authored
      gst/udp/: Avoid leaking internally allocated file descriptors when setting custom file descriptors. Fixes #543101.
      
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt <pkj at axis com>
      * gst/udp/gstdynudpsink.c: (gst_dynudpsink_init),
      (gst_dynudpsink_finalize), (gst_dynudpsink_set_property),
      (gst_dynudpsink_init_send), (gst_dynudpsink_close):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init),
      (gst_multiudpsink_finalize), (gst_multiudpsink_set_property):
      * gst/udp/gstudpsrc.c: (gst_udpsrc_finalize),
      (gst_udpsrc_set_property):
      Avoid leaking internally allocated file descriptors when setting
      custom file descriptors. Fixes #543101.
      74314914
  16. 23 Jul, 2008 1 commit
    • Michael Smith's avatar
      gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately,... · 90fdf926
      Michael Smith authored
      gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed.
      
      Original commit message from CVS:
      * gst/goom/convolve_fx.c:
      * gst/goom/filters.c:
      * gst/goom/goom_config.h:
      * gst/goom/goom_core.c:
      * gst/goom/goom_tools.h:
      Fix build with MSVC: include glib.h to define inline appropriately,
      use header guards where needed.
      * gst/udp/gstudpnetutils.c:
      * gst/udp/gstudpsrc.c:
      Fix build with MSVC: use WSA* constants/functions where appropriate, use
      g_snprintf rather than snprintf.
      Fixes #544433.
      90fdf926
  17. 05 Jul, 2008 1 commit
  18. 25 Jun, 2008 1 commit
    • Sebastian Dröge's avatar
      gst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get... · 8ca7dbfa
      Sebastian Dröge authored
      gst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get updated values for the port, etc. This fixes ...
      
      Original commit message from CVS:
      * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
      Call getsockname() after the call to bind() to get updated values
      for the port, etc. This fixes the usage of udpsrc on anonymous
      binding and it's usage by rtspsrc. Fixes bugs #539372, #539548.
      Thanks to Aurelien Grimaud for pointing out the obvious fix.
      8ca7dbfa
  19. 13 Jun, 2008 1 commit
    • Wim Taymans's avatar
      gst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups. · ccddfc5d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
      (gst_udpsrc_create), (gst_udpsrc_set_property),
      (gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_stop):
      * gst/udp/gstudpsrc.h:
      Add property to control automatic join/leave of multicast groups.
      Add G_LIKELY.
      Remove setting caps on buffers explicitly, basesrc does that for us now.
      Improve debug info.
      Convert some non-fatal error into warnings.
      Use g_ntohs for better portability.
      Leave multicast groups when stopping.
      When using external sockets, use getsockname() on them to fill up the
      addr structure before calling methods that use the structure.
      Should all fix #536903.
      API: GstUDPSrc::auto-multicast property
      ccddfc5d
  20. 21 May, 2008 2 commits
    • Wim Taymans's avatar
      gst/udp/: Joining a multicast group and setting the loop/ttl properties are... · e206f74b
      Wim Taymans authored
      gst/udp/: Joining a multicast group and setting the loop/ttl properties are totally unrelated tasks are must be separ...
      
      Original commit message from CVS:
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
      (gst_multiudpsink_add_internal):
      * gst/udp/gstudpnetutils.c: (gst_udp_set_loop_ttl),
      (gst_udp_join_group):
      * gst/udp/gstudpnetutils.h:
      * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
      Joining a multicast group and setting the loop/ttl properties are
      totally unrelated tasks are must be separated.
      e206f74b
    • Bruno Santos's avatar
      gst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with IPv4... · 570718c2
      Bruno Santos authored
      gst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with IPv4 and IPv6 transparently.
      
      Original commit message from CVS:
      Patch by: Bruno Santos <brunof at ua dot pt>
      * gst/udp/gstudpnetutils.c: (gst_udp_get_addr),
      (gst_udp_join_group), (gst_udp_leave_group),
      (gst_udp_is_multicast):
      * gst/udp/gstudpnetutils.h:
      Provide a bunch of helper methods to deal with IPv4 and IPv6
      transparently.
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
      (gst_multiudpsink_init), (gst_multiudpsink_set_property),
      (gst_multiudpsink_get_property), (join_multicast),
      (gst_multiudpsink_init_send), (gst_multiudpsink_add_internal),
      (gst_multiudpsink_remove):
      * gst/udp/gstmultiudpsink.h:
      Add multicast TTL and loopback properties.
      Use the helper methods to implement ip4 and ip6.
      * gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start):
      * gst/udp/gstudpsrc.h:
      Use the helper methods to implement ip4 and ip6.
      Fixes #515962.
      570718c2
  21. 01 May, 2008 1 commit
    • Youness Alaoui's avatar
      gst/udp/gstudpsrc.c: Don't error out if we get an ICMP destination-unreachable... · 751f2bb3
      Youness Alaoui authored
      gst/udp/gstudpsrc.c: Don't error out if we get an ICMP destination-unreachable message when trying to read packets on...
      
      Original commit message from CVS:
      Patch by: Youness Alaoui <youness.alaoui at collabora co uk>
      * gst/udp/gstudpsrc.c: (gst_udpsrc_create):
      Don't error out if we get an ICMP destination-unreachable
      message when trying to read packets on win32 (#529454).
      751f2bb3
  22. 25 Apr, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid... · 327741a2
      Tim-Philipp Müller authored
      gst/: Use GLib versions of htonl, htons, ntohl and ntohs in order to avoid problems on win32 (#529707).
      
      Original commit message from CVS:
      * gst/rtp/gstasteriskh263.c: (gst_asteriskh263_chain):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_add_internal):
      * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
      Use GLib versions of htonl, htons, ntohl and ntohs in order
      to avoid problems on win32 (#529707).
      327741a2
  23. 07 Mar, 2008 2 commits
  24. 28 Feb, 2008 1 commit
    • Peter Kjellerstedt's avatar
      gst/udp/gstudpsrc.*: Port to GstPoll. See #505417. · 9c814472
      Peter Kjellerstedt authored
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt <pkj at axis com>
      * gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create),
      (gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_unlock),
      (gst_udpsrc_unlock_stop), (gst_udpsrc_stop):
      * gst/udp/gstudpsrc.h:
      Port to GstPoll. See #505417.
      9c814472
  25. 02 Nov, 2007 1 commit
    • Ole Andre Vadla Ravnaas's avatar
      Fix includes for MSVC and GLib-2.14.0 (#492388). · 13a97658
      Ole Andre Vadla Ravnaas authored
      Original commit message from CVS:
      Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
      * configure.ac:
      * gst/udp/gstdynudpsink.c:
      * gst/udp/gstdynudpsink.h:
      * gst/udp/gstmultiudpsink.c:
      * gst/udp/gstmultiudpsink.h:
      * gst/udp/gstudpsink.c:
      * gst/udp/gstudpsink.h:
      Fix includes for MSVC and GLib-2.14.0 (#492388).
      * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
      No more pipe define since GLib-2.14.0, need to use _pipe() directly.
      13a97658
  26. 18 Oct, 2007 1 commit
    • Laurent Glayal's avatar
      gst/udp/gstudpsrc.c: When the socket is used by the app for other purposes,... · 961c9852
      Laurent Glayal authored
      gst/udp/gstudpsrc.c: When the socket is used by the app for other purposes, don't generate an error if there is activ...
      
      Original commit message from CVS:
      Based on patch by: Laurent Glayal  <spglegle yahoo fr>
      * gst/udp/gstudpsrc.c: (gst_udpsrc_create):
      When the socket is used by the app for other purposes, don't generate an
      error if there is activaty on the socket that is not data related.
      Fixes #487488.
      961c9852
  27. 26 Sep, 2007 1 commit
  28. 10 Sep, 2007 1 commit
  29. 17 Aug, 2007 1 commit
    • Wim Taymans's avatar
      gst/udp/gstmultiudpsink.*: Add support for getting and setting the socket to use. · 2e599ab0
      Wim Taymans authored
      Original commit message from CVS:
      * 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_close), (gst_multiudpsink_add):
      * gst/udp/gstmultiudpsink.h:
      Add support for getting and setting the socket to use.
      * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
      (gst_udpsrc_create), (gst_udpsrc_get_property):
      Add support for getting the currently used socket.
      2e599ab0
  30. 16 Aug, 2007 1 commit
  31. 21 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/udp/gstudpsrc.c: Since we depend on 0.10.13 -core, override the... · 127d2331
      Wim Taymans authored
      gst/udp/gstudpsrc.c: Since we depend on 0.10.13 -core, override the unlock_stop vmethod for safer shutdown.
      
      Original commit message from CVS:
      * gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
      (gst_udpsrc_create), (gst_udpsrc_unlock), (gst_udpsrc_unlock_stop):
      Since we depend on 0.10.13 -core, override the unlock_stop vmethod for
      safer shutdown.
      127d2331
  32. 29 Apr, 2007 1 commit
    • Wim Taymans's avatar
      gst/udp/gstmultiudpsink.c: Fix multicast detection. · 589b8282
      Wim Taymans authored
      Original commit message from CVS:
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_add):
      Fix multicast detection.
      Don't try to join a multicast group if the address is not multicast.
      * gst/udp/gstudpsrc.c: (gst_udpsrc_update_uri):
      Small debug improvement.
      589b8282
  33. 26 Apr, 2007 1 commit