Skip to content

Instantly share code, notes, and snippets.

Avatar

Avi Zimmerman tinyzimmer

View GitHub Profile
View keybase.md

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:

View yay
$ 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
View OUTPUT
$ ./test.o
name: test-plugin
Hello world
Plugin loaded successfully
View test.c
#include <dlfcn.h>
#include <stdio.h>
#include "gst/gst.h"
typedef GstPluginDesc * (*get_desc)();
GstPluginDesc * do_func (get_desc func) {
return func();
}