openFrameworks addon to use gstreamer under osx and windows. This addon has no code and instead uses the addon_config.mk file to add the needed files from the core + the flags needed to compile using gstreamer
ofGstUtils.cpp - line 103 :
putenv(("GST_PLUGIN_PATH_1_0=" + ofFilePath::join(gst_path, "lib\gstreamer-1.0") + ";.").c_str()); returns a path with a '/' and not a '\', windows style...
Dirty fix is to do that: putenv("GST_PLUGIN_PATH_1_0=C:\gstreamer\1.0\x86\lib\gstreamer-1.0;.");
Once everything's into place (path, dll and all) - the result is quite frustrating... - going back to linux :)
ofGstUtils.cpp - line 103 : putenv(("GST_PLUGIN_PATH_1_0=" + ofFilePath::join(gst_path, "lib\gstreamer-1.0") + ";.").c_str()); returns a path with a '/' and not a '\', windows style... Dirty fix is to do that: putenv("GST_PLUGIN_PATH_1_0=C:\gstreamer\1.0\x86\lib\gstreamer-1.0;.");
Once everything's into place (path, dll and all) - the result is quite frustrating... - going back to linux :)