[Bug 661098] [rtmp] need to initialize winsock 2 dll

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 25 03:17:17 PST 2011


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

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-11-25 11:17:12 UTC ---
> I doubt WSACleanup() should be called at all. Imagine another rtmpsrc element
> running in parallese in the same process as part of a different pipeline. It
> shouldn't be disrupted when another rtmpsrc element is finalized.

I think that's fine. From
http://msdn.microsoft.com/en-us/library/aa916085.aspx:
"There must be a call to WSACleanup for every successful call to WSAStartup
made by a task. Only the final WSACleanup call for that task does the actual
cleanup; the preceding calls simply decrement an internal reference count in
the ws2.dll."

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