Skip to content

Commit 3705c04

Browse files
author
Clement Champetier
committed
Update SWIG interface of frame
1 parent 2046b68 commit 3705c04

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/AvTranscoder/avTranscoder.i

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ namespace std {
2121
%template(IntPair) pair< size_t, size_t >;
2222
%template(ProfileMap) map< string, string >;
2323
%template(ProfilesVector) vector< map< string, string > >;
24-
%template(DataBuffer) std::vector< unsigned char >;
2524
}
2625

2726
%include "AvTranscoder/progress/progress.i"

src/AvTranscoder/frame/frame.i

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#include <AvTranscoder/frame/AudioFrame.hpp>
77
%}
88

9+
namespace std {
10+
%template(DataBuffer) std::vector< unsigned char >;
11+
}
12+
913
%include <AvTranscoder/frame/Frame.hpp>
1014
%include <AvTranscoder/frame/VideoFrame.hpp>
1115
%include <AvTranscoder/frame/AudioFrame.hpp>

0 commit comments

Comments
 (0)