[Bug 580093] tcpserversink,src: signal actually used port when port=0 was set

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 12 01:10:17 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=580093
  GStreamer | gst-plugins-base | git

--- Comment #8 from Alexandre RELANGE <alexandre.relange at pineasystems.org> 2012-10-12 08:10:13 UTC ---
Created an attachment (id=226315)
 View: https://bugzilla.gnome.org/attachment.cgi?id=226315
 Review: https://bugzilla.gnome.org/review?bug=580093&attachment=226315

lock on server_port variable

Well... this is a lock to prevent modification of server_port variable
especially during connection process and update of the value when port=0 is
used.
Although I do not really think this lock is useful since
gst_tcp_server_src_start () is run only once each time we start the plugin
(should not be run twice in parallel) and if someone try to set the port
property during this startup, the behavior is unpredictable anyway. The value
must be configured BEFORE the plugin state is changed.
Am I wrong ?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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