[Bug 757235] Error creation of a devicemonitor [JS]

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 30 14:20:01 PDT 2015


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

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
If I set a breakpoint in gdb, it doesn't even end up
gst_device_monitor_get_bus(), so the issue is likely somewhere in the bindings
layer.

However, if I do this:

  let device_monitor = new Gst.DeviceMonitor;

instead of

  let device_monitor = Gst.DeviceMonitor.new();

then it all seems to work fine at first glance:

------------------------------------------------------------
#!/usr/bin/gjs

const Gst = imports.gi.Gst;

Gst.init(null);
let device_monitor = new Gst.DeviceMonitor;
log("get_bus");
let bus = device_monitor.get_bus();
log("start");
device_monitor.start();
log("stop");
device_monitor.stop();
log("done");
------------------------------------------------------------

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