Skip to content

Instantly share code, notes, and snippets.

@wiiaboo
Created April 9, 2011 16:26
Show Gist options
  • Save wiiaboo/911525 to your computer and use it in GitHub Desktop.
Save wiiaboo/911525 to your computer and use it in GitHub Desktop.
diff --git a/vfr.py b/vfr.py
index 25cd3d7..2d11d62 100755
--- a/vfr.py
+++ b/vfr.py
@@ -522,7 +522,7 @@ def parse_trims(avs, fps, outfps=None, otc=None, input=None, label=None):
if outfps and fps != outfps:
ofps = parse_tc(outfps, int(Trims[-1][1])+2)[0]
if otc:
- max = convert_fps([int(Trims[-1][1])],tc,ofps)
+ max = convert_fps([[int(Trims[-1][1])]],tc,ofps)[0]
parse_tc(outfps,max+2,otc+'ofps.txt')
# Parse trims
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment