Skip to content

Instantly share code, notes, and snippets.

@torque
Created April 12, 2014 23:54
Show Gist options
  • Save torque/10562702 to your computer and use it in GitHub Desktop.
Save torque/10562702 to your computer and use it in GitHub Desktop.
diff --git a/wscript b/wscript
index 0ef4fc3..b5db61a 100644
--- a/wscript
+++ b/wscript
@@ -71,13 +71,13 @@ def configure_gcc(conf):
add_options(["CFLAGS", "CXXFLAGS"],
["-fPIC", "-Wall", "-Wextra", "-Wno-unused-parameter",
"-fvisibility=hidden", "-fvisibility-inlines-hidden",
- "-Werror", "-std=c++11"])
+ "-std=c++11"])
add_options(["LINKFLAGS_cshlib",
"LINKFLAGS_cprogram",
"LINKFLAGS_cxxshlib",
"LINKFLAGS_cxxprogram"],
- ["-Wl,-Bsymbolic",
- "-Wl,-z,noexecstack"])
+ ["",
+ ""])
if conf.options.mode == "debug":
add_options(["CFLAGS", "CXXFLAGS"],
["-g", "-ggdb", "-ftrapv"])
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin("/usr/local/lib/libf3kdb.dylib")
core.std.LoadPlugin("/usr/local/lib/libffms2.3.dylib")
input = "video.mkv"
clip = core.ffms2.Source(input)
clip = core.f3kdb.Deband(clip)
clip.set_output()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment