Skip to content

Instantly share code, notes, and snippets.

View tinyzimmer's full-sized avatar

Avi Zimmerman tinyzimmer

View GitHub Profile
#include <dlfcn.h>
#include <stdio.h>
#include "gst/gst.h"
typedef GstPluginDesc * (*get_desc)();
GstPluginDesc * do_func (get_desc func) {
return func();
}
$ ./test.o
name: test-plugin
Hello world
Plugin loaded successfully
$ gst-inspect-1.0 ./test-plugin.so
Hello world
Plugin Details:
Name test-plugin
Description Test plugin plugin
Filename ./test-plugin.so
Version v0.0.1
License LGPL
Source module go-gst
Source release date 2020-01-04

Keybase proof

I hereby claim:

  • I am tinyzimmer on github.
  • I am aizimmer (https://keybase.io/aizimmer) on keybase.
  • I have a public key ASCk577Jx0SNWz9du0jZIUJ1CETtZVFHS_93b_7HjIMBcwo

To claim this, I am signing this object: