hornetseye-ffmpeg 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/ext/avoutput.cc +4 -4
- data/ext/avoutput.hh +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/ext/avoutput.cc
CHANGED
@@ -35,9 +35,9 @@ VALUE AVOutput::cRubyClass = Qnil;
|
|
35
35
|
|
36
36
|
AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
|
37
37
|
int timeBaseNum, int timeBaseDen, int aspectRatioNum,
|
38
|
-
int aspectRatioDen, enum
|
38
|
+
int aspectRatioDen, enum AVCodecID videoCodec,
|
39
39
|
int audioBitRate, int sampleRate, int channels,
|
40
|
-
enum
|
40
|
+
enum AVCodecID audioCodec ) throw (Error):
|
41
41
|
m_mrl( mrl ), m_oc( NULL ), m_videoStream( NULL ), m_audioStream( NULL),
|
42
42
|
m_videoCodecOpen( false ), m_audioCodecOpen( false ), m_videoBuf( NULL ),
|
43
43
|
m_audioBuf( NULL ), m_fileOpen( false ), m_headerWritten( false ),
|
@@ -818,10 +818,10 @@ VALUE AVOutput::wrapNew( VALUE rbClass, VALUE rbMRL, VALUE rbBitRate, VALUE rbWi
|
|
818
818
|
NUM2INT( rbTimeBaseNum ), NUM2INT( rbTimeBaseDen ),
|
819
819
|
NUM2INT( rbAspectRatioNum ),
|
820
820
|
NUM2INT( rbAspectRatioDen ),
|
821
|
-
(enum
|
821
|
+
(enum AVCodecID)NUM2INT( rbVideoCodec ),
|
822
822
|
NUM2INT( rbAudioBitRate ), NUM2INT( rbSampleRate ),
|
823
823
|
NUM2INT( rbChannels ),
|
824
|
-
(enum
|
824
|
+
(enum AVCodecID)NUM2INT( rbAudioCodec ) ) );
|
825
825
|
retVal = Data_Wrap_Struct( rbClass, 0, deleteRubyObject,
|
826
826
|
new AVOutputPtr( ptr ) );
|
827
827
|
} catch ( exception &e ) {
|
data/ext/avoutput.hh
CHANGED
@@ -43,9 +43,9 @@ class AVOutput
|
|
43
43
|
public:
|
44
44
|
AVOutput( const std::string &mrl, int videoBitRate, int width, int height,
|
45
45
|
int timeBaseNum, int timeBaseDen, int aspectRatioNum,
|
46
|
-
int aspectRatioDen, enum
|
46
|
+
int aspectRatioDen, enum AVCodecID videoCodec,
|
47
47
|
int audioBitRate, int sampleRate, int channels,
|
48
|
-
enum
|
48
|
+
enum AVCodecID audioCodec ) throw (Error);
|
49
49
|
virtual ~AVOutput(void);
|
50
50
|
void close(void);
|
51
51
|
AVRational videoTimeBase(void) throw (Error);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-ffmpeg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: malloc
|