[gstreamer-bugs] [Bug 532364] tcpclientsrc broken in 0.10.19

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 13 05:10:47 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=532364

  GStreamer | gst-plugins-base | Ver: 0.10.19




------- Comment #2 from Hannes Bistry  2008-05-13 12:10 UTC -------
Created an attachment (id=110849)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=110849&action=view)
Fixes this bug

I solved this bug and maybe other related bugs by adding two lines to
gsttcpclientsrc.c:
  gst_poll_add_fd (src->fdset,&src->sock_fd);
  gst_poll_fd_ctl_read(src->fdset,&src->sock_fd,TRUE);

inside the start method. This configures the GstPoll to return if data can be
read. At the moment, gst_poll_wait will never return. To make the code cleaner
you should check the return value of these calls.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=532364.




More information about the Gstreamer-bugs mailing list