hornetseye-ffmpeg 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/config.rb +1 -1
  3. data/ext/avinput.cc +1 -1
  4. data/ext/avoutput.cc +5 -5
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45507c93f9cc81475b5131c712b889233387eba4
4
- data.tar.gz: 4f5ab8109f039d49b2c3df9819b1ddf1aa07d1ea
3
+ metadata.gz: ec416cdd3d5000953664b5fa56a6c95c440ef36a
4
+ data.tar.gz: af54a31473ab657a53c66597aee21d7118bee7c1
5
5
  SHA512:
6
- metadata.gz: 7b92762bf737b96692fdd5204eadce4a0b6ff618d18753b1f641141a3fa4b9e5ec23c5ce7ad5d88f2d1e2e32ceb696102273ca1f3a0b1ee305bc47c00ec24d82
7
- data.tar.gz: 7d3da487dcda8a06964a1895ca6342418c9389e6983010df7869825ebf6be7ec40a3109dca7fb603ab784d772f53b5f74136e83021942f14e0a9c47101c34c14
6
+ metadata.gz: 1d07cf3a2fdb3a4749247aef7062a543490bb00d106cec9d950db6576fc79af92f533db62845484baf767f6c28dd7891a27d9d2714bd037e9c3830109a35c6da
7
+ data.tar.gz: 0f71cc44590601189a537b723a2234b191c19972a075b10a2f70e7f04a138c88ca47049b761f3d507d48c6970c6b461632cd0eaf1079f181586406e5a76e0377
data/config.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rake'
2
2
 
3
3
  PKG_NAME = 'hornetseye-ffmpeg'
4
- PKG_VERSION = '1.2.3'
4
+ PKG_VERSION = '1.2.4'
5
5
  CFG = RbConfig::CONFIG
6
6
  CXX = ENV[ 'CXX' ] || 'g++'
7
7
  RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
@@ -67,7 +67,7 @@ AVInput::AVInput( const string &mrl, bool audio ) throw (Error):
67
67
  m_swsContext = sws_getContext( m_videoDec->width, m_videoDec->height,
68
68
  m_videoDec->pix_fmt,
69
69
  m_videoDec->width, m_videoDec->height,
70
- PIX_FMT_YUV420P, SWS_FAST_BILINEAR, 0, 0, 0 );
70
+ AV_PIX_FMT_YUV420P, SWS_FAST_BILINEAR, 0, 0, 0 );
71
71
  m_vFrame = avcodec_alloc_frame();
72
72
  ERRORMACRO(m_vFrame, Error, , "Error allocating frame");
73
73
  };
@@ -69,7 +69,7 @@ AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
69
69
  c->time_base.num = timeBaseNum;
70
70
  c->time_base.den = timeBaseDen;
71
71
  c->gop_size = 12;
72
- c->pix_fmt = PIX_FMT_YUV420P;
72
+ c->pix_fmt = AV_PIX_FMT_YUV420P;
73
73
  c->sample_aspect_ratio.num = aspectRatioNum;
74
74
  c->sample_aspect_ratio.den = aspectRatioDen;
75
75
  if ( m_oc->oformat->flags & AVFMT_GLOBALHEADER )
@@ -125,15 +125,15 @@ AVOutput::AVOutput( const string &mrl, int videoBitRate, int width, int height,
125
125
  "Error writing header of video \"" << mrl << "\": "
126
126
  << strerror( errno ) );
127
127
  m_headerWritten = true;
128
- m_swsContext = sws_getContext( width, height, PIX_FMT_YUV420P,
129
- width, height, PIX_FMT_YUV420P,
128
+ m_swsContext = sws_getContext( width, height, AV_PIX_FMT_YUV420P,
129
+ width, height, AV_PIX_FMT_YUV420P,
130
130
  SWS_FAST_BILINEAR, 0, 0, 0 );
131
131
  m_frame = avcodec_alloc_frame();
132
132
  ERRORMACRO( m_frame, Error, , "Error allocating frame" );
133
- int size = avpicture_get_size( PIX_FMT_YUV420P, width, height );
133
+ int size = avpicture_get_size( AV_PIX_FMT_YUV420P, width, height );
134
134
  char *frameBuffer = (char *)av_malloc( size );
135
135
  ERRORMACRO( frameBuffer, Error, , "Error allocating memory buffer for frame" );
136
- avpicture_fill( (AVPicture *)m_frame, (uint8_t *)frameBuffer, PIX_FMT_YUV420P,
136
+ avpicture_fill( (AVPicture *)m_frame, (uint8_t *)frameBuffer, AV_PIX_FMT_YUV420P,
137
137
  width, height );
138
138
  } catch ( Error &e ) {
139
139
  close();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Wedekind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: malloc