From fccb342c112ea8e9870deb7e554d9e840ca192eb Mon Sep 17 00:00:00 2001 From: Viktor Anjin Date: Thu, 4 Jun 2015 22:27:52 -0700 Subject: [PATCH] add plugins directory to default search path --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 9a19f2c..2e36c3a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,6 +6,11 @@ int main(int argc, char **argv) { gst_init (&argc, &argv); + + GstRegistry *registry; + registry = gst_registry_get(); + gst_registry_scan_path(registry, "./plugins"); + QApplication app(argc, argv); MainWindow wgt;