Skip to content

Commit

Permalink
add plugins directory to default search path
Browse files Browse the repository at this point in the history
  • Loading branch information
anjin-viktor committed Jun 5, 2015
1 parent 5e14d4b commit fccb342
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fccb342

Please sign in to comment.