Skip to content

Instantly share code, notes, and snippets.

@ryanmarin
Created November 5, 2018 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanmarin/213606922dff8fd0ae1a513727260483 to your computer and use it in GitHub Desktop.
Save ryanmarin/213606922dff8fd0ae1a513727260483 to your computer and use it in GitHub Desktop.
activate (ctx) {
ctx.abuf = consume(input_a)
ctx.vbuf = consume(input_v)
if (!ctx.abuf)
ff_filter_frame(output_a, ctx.abuf)
ctx.abuf = null
return
if (!ctx.vbuf)
ff_filter_frame(output_v, ctx.vbuf)
ctx.vbuf = null
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment