Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gstreamer-gi: don't add $0 to arguments

  • Loading branch information...
commit f854789cb89486e742c69129ccb1c2b8f1e4ffd9 1 parent 5dfad0a
@kou kou authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gstreamer-gi/lib/gst.rb
View
2  gstreamer-gi/lib/gst.rb
@@ -46,7 +46,7 @@ def pre_load(repository, namespace)
init = repository.find(namespace, "init")
argc, argv = init.invoke(1 + @init_arguments.size,
[$0] + @init_arguments)
- @init_arguments.replace(argv)
+ @init_arguments.replace(argv[1..-1])
end
def post_load(repository, namespace)
Please sign in to comment.
Something went wrong with that request. Please try again.