[Bug 747757] winks: add GstDeviceProvider implementations on Windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 14 02:14:10 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747757

--- Comment #5 from LRN <lrn1986 at gmail.com> ---
(In reply to Olivier CrĂȘte from comment #4)
> Review of attachment 301434 [details] [review]:
> 
> Generally looks good. Did you test with gst-device-monitor-1.0 and
> "gst-device-monitor-1.0 -f" and plug/unplug a couple devices?
I only have one webcamera, and i tested *that*. I could probably hook it up to
a laptop to test addition and removal of a second device, but, obviously, can't
remove the built-in one at runtime.

> 
> ::: sys/winks/ksdeviceprovider.c
> @@ +490,3 @@
> +  GST_OBJECT_LOCK (self);
> +  GST_DEBUG_OBJECT (self, "Exiting internal window thread: %p",
> +      g_thread_self ());
> 
> Why take the lock here?

Well, i thought that you lock self whenever you use self. GST_DEBUG_OBJECT()
takes self, so i lock.

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