diff --git a/src/bindings/ruby/openshot.i b/src/bindings/ruby/openshot.i index 1f3e0d99..1b9b4969 100644 --- a/src/bindings/ruby/openshot.i +++ b/src/bindings/ruby/openshot.i @@ -6,8 +6,8 @@ # # Copyright (c) 2008-2019 OpenShot Studios, LLC # . This file is part of -# OpenShot Library (libopenshot), an open-source project dedicated to -# delivering high quality video editing and animation solutions to the +# OpenShot Library (libopenshot), an open-source project dedicated to +# delivering high quality video editing and animation solutions to the # world. For more information visit . # # OpenShot Library (libopenshot) is free software: you can redistribute it @@ -56,8 +56,6 @@ namespace std { #endif %template(SPtrAudioBuffer) std::shared_ptr; %template(SPtrOpenFrame) std::shared_ptr; -%template(SPtrFrame) std::shared_ptr; - %{ /* Ruby and FFmpeg define competing RSHIFT macros, @@ -216,13 +214,11 @@ namespace std { /* Wrap std templates (list, vector, etc...) */ -namespace std { - %template(ClipList) list; - %template(EffectBaseList) list; - %template(CoordinateVector) vector; - %template(PointsVector) vector; - %template(FieldVector) vector; - %template(MappedFrameVector) vector; - %template(MappedMetadata) map; - %template(AudioDeviceInfoVector) vector; -} +%template(ClipList) std::list; +%template(EffectBaseList) std::list; +%template(CoordinateVector) std::vector; +%template(PointsVector) std::vector; +%template(FieldVector) std::vector; +%template(MappedFrameVector) std::vector; +%template(MappedMetadata) std::map; +%template(AudioDeviceInfoVector) std::vector;