Permalink
Browse files

gstreamer-gi: don't override Gst.init

Reported by Vincent Carmona. Thanks!!!
  • Loading branch information...
1 parent c6bcbef commit 5dfad0adff6f199917e00e95460c8be74824ca4a @kou kou committed Feb 10, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 gstreamer-gi/lib/gst.rb
View
5 gstreamer-gi/lib/gst.rb
@@ -61,5 +61,10 @@ def require_extension
require "gstreamer.so"
end
end
+
+ def load_function_info(info)
+ return if info.name == "init"
+ super
+ end
end
end

0 comments on commit 5dfad0a

Please sign in to comment.