arturoc / ofxGStreamer

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
56 stars 28 forks source link

Error on windows #7

Open frankiezafe opened 9 years ago

frankiezafe commented 9 years ago

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 :)

capture_001_20150704_152940