From: Martin Ling Date: Sun, 30 Dec 2018 01:34:02 +0000 (+0100) Subject: Set correct variant type. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6f24666cb139bf703dd04eb4428e2e5e94488d9a;p=libsigrokflow.git Set correct variant type. --- diff --git a/src/main.cpp b/src/main.cpp index 6d1cadc..2d6e037 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,7 +105,7 @@ Gst::StateChangeReturn LegacyCaptureDevice::change_state_vfunc(Gst::StateChange case Gst::STATE_CHANGE_PAUSED_TO_PLAYING: _libsigrok_device->open(); _libsigrok_device->config_set(sigrok::ConfigKey::LIMIT_SAMPLES, - Glib::Variant::create(10)); + Glib::Variant::create(10)); _task = Gst::Task::create(std::bind(&LegacyCaptureDevice::_run, this)); _task->set_lock(_mutex); _src_pad->set_active(true);