hornetseye-ffmpeg 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/ext/avinput.cc +1 -1
- data/ext/avinput.hh +1 -1
- data/ext/frame.cc +5 -0
- data/ext/frame.hh +1 -0
- metadata +3 -3
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 = '0.4.
|
10
|
+
PKG_VERSION = '0.4.2'
|
11
11
|
CXX = ENV[ 'CXX' ] || 'g++'
|
12
12
|
STRIP = ENV[ 'STRIP' ] || 'strip'
|
13
13
|
RB_FILES = FileList[ 'lib/**/*.rb' ]
|
@@ -46,7 +46,7 @@ task :all => [ SO_FILE ]
|
|
46
46
|
|
47
47
|
file SO_FILE => OBJ do |t|
|
48
48
|
sh "#{CXX} -shared -o #{t.name} #{OBJ} -lavformat -lswscale #{$LIBRUBYARG}"
|
49
|
-
|
49
|
+
sh "#{STRIP} --strip-all #{t.name}"
|
50
50
|
end
|
51
51
|
|
52
52
|
task :test => [ SO_FILE ]
|
data/ext/avinput.cc
CHANGED
@@ -178,7 +178,7 @@ long long AVInput::startTime(void) throw (Error)
|
|
178
178
|
return m_ic->streams[ m_idx ]->start_time;
|
179
179
|
}
|
180
180
|
|
181
|
-
void AVInput::seek( long timestamp ) throw (Error)
|
181
|
+
void AVInput::seek( long long timestamp ) throw (Error)
|
182
182
|
{
|
183
183
|
ERRORMACRO( m_ic != NULL, Error, , "Video \"" << m_mrl << "\" is not open. "
|
184
184
|
"Did you call \"close\" before?" );
|
data/ext/avinput.hh
CHANGED
@@ -51,7 +51,7 @@ public:
|
|
51
51
|
AVRational frameRate(void) throw (Error);
|
52
52
|
long long duration(void) throw (Error);
|
53
53
|
long long startTime(void) throw (Error);
|
54
|
-
void seek( long timestamp ) throw (Error);
|
54
|
+
void seek( long long timestamp ) throw (Error);
|
55
55
|
long long pts(void) throw (Error);
|
56
56
|
static VALUE cRubyClass;
|
57
57
|
static VALUE registerRubyClass( VALUE rbModule );
|
data/ext/frame.cc
CHANGED
data/ext/frame.hh
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 2
|
9
|
+
version: 0.4.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jan Wedekind
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-15 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|