ffmpeg-video-info 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/ext/ffmpeg_video_info/extconf.rb +14 -0
- data/ext/ffmpeg_video_info/ffmpeg_video_info.c +4 -0
- data/ffmpeg-video-info.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5daa67db26efbe8baf2b0ff77c31a616578a95c
|
4
|
+
data.tar.gz: 63b02c80da08acdb4a93fae8f27a7c34d4b855ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2852944b3e696e436bca521a65305c68b47268c076ea96e68a6be28dda164b81bd736bef84444255351491706f64e1a0c32ea6112c7b4f52991ef445813a27cf
|
7
|
+
data.tar.gz: b406f7c39b0be93a7ee5c641d8aceb57b8587a5254500245e22bd4d35be62ea33388c17632a6e6d3a3cb5603d4425bb00cafe7c40d03f86daac2ba63038dc2b6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -2,4 +2,18 @@ require "mkmf"
|
|
2
2
|
|
3
3
|
have_library('avcodec') or raise
|
4
4
|
have_library('avformat') or raise
|
5
|
+
|
6
|
+
LIBDIR = Config::CONFIG['libdir']
|
7
|
+
INCLUDEDIR = Config::CONFIG['includedir']
|
8
|
+
|
9
|
+
HEADER_DIRS = [
|
10
|
+
'/usr/local/include',
|
11
|
+
INCLUDEDIR
|
12
|
+
]
|
13
|
+
|
14
|
+
LIB_DIRS = [
|
15
|
+
'/usr/local/lib',
|
16
|
+
LIBDIR
|
17
|
+
]
|
18
|
+
dir_config('', HEADER_DIRS, LIB_DIRS)
|
5
19
|
create_makefile('ffmpeg_video_info')
|
@@ -2,6 +2,10 @@
|
|
2
2
|
#include <libavcodec/avcodec.h>
|
3
3
|
#include <libavformat/avformat.h>
|
4
4
|
#include <stdio.h>
|
5
|
+
#include <libavutil/opt.h>
|
6
|
+
#include <libavutil/dict.h>
|
7
|
+
#include <libavutil/pixdesc.h>
|
8
|
+
|
5
9
|
|
6
10
|
void my_av_dump_format(AVFormatContext *ic, int index, const char *url, int is_output, VALUE res)
|
7
11
|
{
|
data/ffmpeg-video-info.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: ffmpeg-video-info 0.1.
|
5
|
+
# stub: ffmpeg-video-info 0.1.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ffmpeg-video-info"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Pavel Tatarsky"]
|