ffmpeg-video-info 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0c43f1bc6f28482f0de890801a4502fdf8d03f9
4
- data.tar.gz: 153004c193b0d9ac57f4ae364f82b2f58c2f822d
3
+ metadata.gz: d89d70f6b4a00a2a94d906c2d14919073a86d8df
4
+ data.tar.gz: b6c8a8a29dbfe4438f707d3ec672d372cc44272e
5
5
  SHA512:
6
- metadata.gz: 15b09580cfa34f447921e08c9a3274f4b3a6c07de59dca117e0059f42490d4f3f3c0c546b08271067448d32387f831f6de073a7a4e16d04683ae3977f379b8f7
7
- data.tar.gz: ddf26d78ce2339b93d3abeed8fb51ffb0ee2a69c712f40f719b42708344eb6eb1ab8a04fcc4bd848016a8218f5c9e0876212c8b858a21c7938abe49b24d4726b
6
+ metadata.gz: 6d32135f2a177ba43d40bbeda249187b306a77753456a55362904f63fb86270140a5e78cc8168e7f56deb402f94d64158d1b0bfd021ac6f493eb01b2dbc00e57
7
+ data.tar.gz: 4bd3dcaec61cab35c8c1ecb9283978cebd497a98e8f13e41379ea23ed69df38373622997c833798a987aac2af10b108491f74e55e469cda6d1abbdebd2db1b95
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -117,21 +117,21 @@ void my_avcodec_string(AVCodecContext *enc, int encode, VALUE res)
117
117
 
118
118
  switch (enc->codec_type) {
119
119
  case AVMEDIA_TYPE_VIDEO:
120
- if (enc->pix_fmt != AV_PIX_FMT_NONE) {
121
- const char *colorspace_name;
122
- // rb_hash_aset(res, rb_str_new2("pixel_format"), rb_str_new2(av_get_pix_fmt_name(enc->pix_fmt)));
123
- // if (enc->bits_per_raw_sample &&
124
- // enc->bits_per_raw_sample <= my_av_pix_fmt_desc_get(enc->pix_fmt)->comp[0].depth_minus1)
125
- // av_strlcatf(detail, sizeof(detail), "%d bpc, ", enc->bits_per_raw_sample);
126
- // if (enc->color_range != AVCOL_RANGE_UNSPECIFIED)
127
- // av_strlcatf(detail, sizeof(detail),
128
- // enc->color_range == AVCOL_RANGE_MPEG ? "tv, ": "pc, ");
120
+ // if (enc->pix_fmt != AV_PIX_FMT_NONE) {
121
+ // const char *colorspace_name;
122
+ // // rb_hash_aset(res, rb_str_new2("pixel_format"), rb_str_new2(av_get_pix_fmt_name(enc->pix_fmt)));
123
+ // // if (enc->bits_per_raw_sample &&
124
+ // // enc->bits_per_raw_sample <= my_av_pix_fmt_desc_get(enc->pix_fmt)->comp[0].depth_minus1)
125
+ // // av_strlcatf(detail, sizeof(detail), "%d bpc, ", enc->bits_per_raw_sample);
126
+ // // if (enc->color_range != AVCOL_RANGE_UNSPECIFIED)
127
+ // // av_strlcatf(detail, sizeof(detail),
128
+ // // enc->color_range == AVCOL_RANGE_MPEG ? "tv, ": "pc, ");
129
129
 
130
- colorspace_name = av_get_colorspace_name(enc->colorspace);
131
- if (colorspace_name)
132
- rb_hash_aset(res, rb_str_new2("color_space"), rb_str_new2(colorspace_name));
130
+ // colorspace_name = av_get_colorspace_name(enc->colorspace);
131
+ // if (colorspace_name)
132
+ // rb_hash_aset(res, rb_str_new2("color_space"), rb_str_new2(colorspace_name));
133
133
 
134
- }
134
+ // }
135
135
  if (enc->width) {
136
136
  rb_hash_aset(res, rb_str_new2("width"), INT2FIX(enc->width));
137
137
  rb_hash_aset(res, rb_str_new2("height"), INT2FIX(enc->height));
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ffmpeg-video-info"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Pavel Tatarsky"]
12
- s.date = "2013-12-02"
12
+ s.date = "2013-12-09"
13
13
  s.description = "It only provides gathering info about media files"
14
14
  s.email = "fazzzenda@mail.ru"
15
15
  s.extensions = ["ext/ffmpeg_video_info/extconf.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffmpeg-video-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-02 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc