ffruby 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -0
- data/VERSION +1 -1
- data/ext/ffruby/ffruby.c +2 -0
- data/ext/ffruby/ffruby.h +5 -5
- data/ext/ffruby/ffrubyfile.c +6 -2
- data/ext/ffruby/ffrubystream.c +8 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -22,6 +22,11 @@ Being able to reliably read the source file's metadata is very important in deci
|
|
22
22
|
|
23
23
|
== Changes
|
24
24
|
|
25
|
+
=== 0.2.2 (2010/11/29)
|
26
|
+
|
27
|
+
- Fix compilation with -fno-common for OS X.
|
28
|
+
- Make RDoc hack a bit safer.
|
29
|
+
|
25
30
|
=== 0.2.1 (2010/11/26)
|
26
31
|
|
27
32
|
- New formats and codecs methods working on older FFmpeg versions.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/ext/ffruby/ffruby.c
CHANGED
data/ext/ffruby/ffruby.h
CHANGED
@@ -25,10 +25,10 @@
|
|
25
25
|
#include AVFORMAT_H_PATH
|
26
26
|
#include AVCODEC_H_PATH
|
27
27
|
|
28
|
-
VALUE mFFruby;
|
29
|
-
VALUE cFFrubyFile;
|
30
|
-
VALUE cFFrubyStream;
|
31
|
-
VALUE cFFrubyVideoStream;
|
32
|
-
VALUE cFFrubyAudioStream;
|
28
|
+
extern VALUE mFFruby;
|
29
|
+
extern VALUE cFFrubyFile;
|
30
|
+
extern VALUE cFFrubyStream;
|
31
|
+
extern VALUE cFFrubyVideoStream;
|
32
|
+
extern VALUE cFFrubyAudioStream;
|
33
33
|
|
34
34
|
#endif
|
data/ext/ffruby/ffrubyfile.c
CHANGED
@@ -22,8 +22,12 @@
|
|
22
22
|
#include <string.h>
|
23
23
|
#include <stdio.h>
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
VALUE cFFrubyFile;
|
26
|
+
|
27
|
+
#ifdef RDOC
|
28
|
+
/* Satisfy stupid RDoc. */
|
29
|
+
static void rdoc() { mFFruby = rb_define_module("FFruby"); }
|
30
|
+
#endif
|
27
31
|
|
28
32
|
static void ffrf_free(AVFormatContext *fmt)
|
29
33
|
{
|
data/ext/ffruby/ffrubystream.c
CHANGED
@@ -20,8 +20,14 @@
|
|
20
20
|
|
21
21
|
#include "ffruby.h"
|
22
22
|
|
23
|
-
|
24
|
-
|
23
|
+
VALUE cFFrubyStream;
|
24
|
+
VALUE cFFrubyVideoStream;
|
25
|
+
VALUE cFFrubyAudioStream;
|
26
|
+
|
27
|
+
#ifdef RDOC
|
28
|
+
/* Satisfy stupid RDoc. */
|
29
|
+
static void rdoc() { mFFruby = rb_define_module("FFruby"); }
|
30
|
+
#endif
|
25
31
|
|
26
32
|
static VALUE ffrs_alloc(VALUE klass)
|
27
33
|
{
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Le Cuirot
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-29 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|