hornetseye-ffmpeg 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/ext/avoutput.cc +4 -4
  3. data/ext/avoutput.hh +2 -2
  4. metadata +2 -2
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
7
7
  require 'rbconfig'
8
8
 
9
9
  PKG_NAME = 'hornetseye-ffmpeg'
10
- PKG_VERSION = '1.2.0'
10
+ PKG_VERSION = '1.2.1'
11
11
  CFG = RbConfig::CONFIG
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -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 CodecID videoCodec,
38
+ int aspectRatioDen, enum AVCodecID videoCodec,
39
39
  int audioBitRate, int sampleRate, int channels,
40
- enum CodecID audioCodec ) throw (Error):
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 CodecID)NUM2INT( rbVideoCodec ),
821
+ (enum AVCodecID)NUM2INT( rbVideoCodec ),
822
822
  NUM2INT( rbAudioBitRate ), NUM2INT( rbSampleRate ),
823
823
  NUM2INT( rbChannels ),
824
- (enum CodecID)NUM2INT( rbAudioCodec ) ) );
824
+ (enum AVCodecID)NUM2INT( rbAudioCodec ) ) );
825
825
  retVal = Data_Wrap_Struct( rbClass, 0, deleteRubyObject,
826
826
  new AVOutputPtr( ptr ) );
827
827
  } catch ( exception &e ) {
@@ -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 CodecID videoCodec,
46
+ int aspectRatioDen, enum AVCodecID videoCodec,
47
47
  int audioBitRate, int sampleRate, int channels,
48
- enum CodecID audioCodec ) throw (Error);
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.0
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-02-18 00:00:00.000000000 Z
12
+ date: 2015-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: malloc