hornetseye-ffmpeg 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. checksums.yaml +5 -5
  2. data/COPYING +12 -17
  3. data/Rakefile +1 -1
  4. data/config.rb +2 -2
  5. data/ext/avoutput.cc +2 -4
  6. metadata +4 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5b5349e6921ab376733e8bb418650dc336cf5350
4
- data.tar.gz: 4dde81029c1053fb7b7bc28b4bf6495dde7c2553
2
+ SHA256:
3
+ metadata.gz: 71ae09b3e274dd3c5da01ae6dcd49357c0ed79d04f86221a5184a4226638fb6c
4
+ data.tar.gz: 9c17a5edaae504df64d9db2b3688011dfd022e6477d60012e53eb6e1de81de57
5
5
  SHA512:
6
- metadata.gz: de2fd283320d3c14c39b504296556745d580c5c7bfe3e932a805c1af2abc7aee2fe4ff1917eb0ad7e9202158b1f8faf06143393bd58a4ca3b7abb499d146b4d6
7
- data.tar.gz: a8355b40537831f3acd2406e9b89767faf964ce93f77024cda90aeea95059de02e3bb235a7efd2adcb47f6a1474ec42e699add847a88305fabec1f061b336a8d
6
+ metadata.gz: 912308dc514598396386a25626a5ae1df3e0ed2693c548b7d4d8a51af822000f54da664a7e12dd91a59fc70dadc08affd165e9073a993ec4ed2efcc620ca72f3
7
+ data.tar.gz: 72cb9ef3eddb8d3261c6cad5aa70fe04333298e175eafeb3c017157d4ffebc90cc8b3ea36c04b49971d5e409e93bc4adce53ec1f2280a406d3f620d4cd845eed
data/COPYING CHANGED
@@ -1,15 +1,11 @@
1
- This is the license for the computer vision library Hornetseye.
2
- Copyright (C) 2006 - 2010 Jan Wedekind, Sheffield, United Kingdom.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
3
 
4
-
5
- GNU GENERAL PUBLIC LICENSE
6
- Version 3, 29 June 2007
7
-
8
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
9
5
  Everyone is permitted to copy and distribute verbatim copies
10
6
  of this license document, but changing it is not allowed.
11
7
 
12
- Preamble
8
+ Preamble
13
9
 
14
10
  The GNU General Public License is a free, copyleft license for
15
11
  software and other kinds of works.
@@ -72,7 +68,7 @@ patents cannot be used to render the program non-free.
72
68
  The precise terms and conditions for copying, distribution and
73
69
  modification follow.
74
70
 
75
- TERMS AND CONDITIONS
71
+ TERMS AND CONDITIONS
76
72
 
77
73
  0. Definitions.
78
74
 
@@ -80,7 +76,7 @@ modification follow.
80
76
 
81
77
  "Copyright" also means copyright-like laws that apply to other kinds of
82
78
  works, such as semiconductor masks.
83
-
79
+
84
80
  "The Program" refers to any copyrightable work licensed under this
85
81
  License. Each licensee is addressed as "you". "Licensees" and
86
82
  "recipients" may be individuals or organizations.
@@ -513,7 +509,7 @@ actual knowledge that, but for the patent license, your conveying the
513
509
  covered work in a country, or your recipient's use of the covered work
514
510
  in a country, would infringe one or more identifiable patents in that
515
511
  country that you have reason to believe are valid.
516
-
512
+
517
513
  If, pursuant to or in connection with a single transaction or
518
514
  arrangement, you convey, or propagate by procuring conveyance of, a
519
515
  covered work, and grant a patent license to some of the parties
@@ -622,9 +618,9 @@ an absolute waiver of all civil liability in connection with the
622
618
  Program, unless a warranty or assumption of liability accompanies a
623
619
  copy of the Program in return for a fee.
624
620
 
625
- END OF TERMS AND CONDITIONS
621
+ END OF TERMS AND CONDITIONS
626
622
 
627
- How to Apply These Terms to Your New Programs
623
+ How to Apply These Terms to Your New Programs
628
624
 
629
625
  If you develop a new program, and you want it to be of the greatest
630
626
  possible use to the public, the best way to achieve this is to make it
@@ -649,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
649
645
  GNU General Public License for more details.
650
646
 
651
647
  You should have received a copy of the GNU General Public License
652
- along with this program. If not, see <http://www.gnu.org/licenses/>.
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
653
649
 
654
650
  Also add information on how to contact you by electronic and paper mail.
655
651
 
@@ -668,12 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
668
664
  You should also get your employer (if you work as a programmer) or school,
669
665
  if any, to sign a "copyright disclaimer" for the program, if necessary.
670
666
  For more information on this, and how to apply and follow the GNU GPL, see
671
- <http://www.gnu.org/licenses/>.
667
+ <https://www.gnu.org/licenses/>.
672
668
 
673
669
  The GNU General Public License does not permit incorporating your program
674
670
  into proprietary programs. If your program is a subroutine library, you
675
671
  may consider it more useful to permit linking proprietary applications with
676
672
  the library. If this is what you want to do, use the GNU Lesser General
677
673
  Public License instead of this License. But first, please read
678
- <http://www.gnu.org/philosophy/why-not-lgpl.html>.
679
-
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ $LIBRUBYARG = "-L#{CFG[ 'libdir' ]} #{CFG[ 'LIBRUBYARG' ]} #{CFG[ 'LDFLAGS' ]} "
21
21
  $SITELIBDIR = CFG[ 'sitelibdir' ]
22
22
  $SITEARCHDIR = CFG[ 'sitearchdir' ]
23
23
  $LDSHARED = CFG[ 'LDSHARED' ][ CFG[ 'LDSHARED' ].index( ' ' ) .. -1 ]
24
- $CXXFLAGS = "#{$CXXFLAGS} -I/usr/include/ffmpeg"
24
+ $CXXFLAGS = "#{$CXXFLAGS} -I/usr/include/ffmpeg -Wno-deprecated-declarations"
25
25
 
26
26
  task :default => :all
27
27
 
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.5'
4
+ PKG_VERSION = '1.2.6'
5
5
  CFG = RbConfig::CONFIG
6
6
  CXX = ENV[ 'CXX' ] || 'g++'
7
7
  RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
@@ -19,4 +19,4 @@ DESCRIPTION = %q{This Ruby extension defines the class Hornetseye::AVInput for r
19
19
  LICENSE = 'GPL-3+'
20
20
  AUTHOR = %q{Jan Wedekind}
21
21
  EMAIL = %q{jan@wedesoft.de}
22
- HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-ffmpeg/}
22
+ HOMEPAGE = %q{http://wedesoft.github.io/hornetseye-ffmpeg/}
data/ext/avoutput.cc CHANGED
@@ -259,8 +259,8 @@ void AVOutput::writeVideo( FramePtr frame ) throw (Error)
259
259
  picture.linesize[2] = width2a;
260
260
  sws_scale( m_swsContext, picture.data, picture.linesize, 0,
261
261
  c->height, m_frame->data, m_frame->linesize );
262
- int packetSize = avcodec_encode_video2( c, (uint8_t *)m_videoBuf,
263
- VIDEO_BUF_SIZE, m_frame );
262
+ int packetSize = avcodec_encode_video( c, (uint8_t *)m_videoBuf,
263
+ VIDEO_BUF_SIZE, m_frame );
264
264
  ERRORMACRO( packetSize >= 0, Error, , "Error encoding video frame" );
265
265
  if ( packetSize > 0 ) {
266
266
  AVPacket packet;
@@ -428,8 +428,6 @@ VALUE AVOutput::registerRubyClass( VALUE rbModule )
428
428
  INT2FIX( AV_CODEC_ID_ZLIB ) );
429
429
  rb_define_const( cRubyClass, "AV_CODEC_ID_QTRLE",
430
430
  INT2FIX( AV_CODEC_ID_QTRLE ) );
431
- rb_define_const( cRubyClass, "AV_CODEC_ID_SNOW",
432
- INT2FIX( AV_CODEC_ID_SNOW ) );
433
431
  rb_define_const( cRubyClass, "AV_CODEC_ID_TSCC",
434
432
  INT2FIX( AV_CODEC_ID_TSCC ) );
435
433
  rb_define_const( cRubyClass, "AV_CODEC_ID_ULTI",
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Wedekind
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
10
+ date: 2025-06-30 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: malloc
@@ -80,11 +79,10 @@ files:
80
79
  - lib/hornetseye-ffmpeg/avinput.rb
81
80
  - lib/hornetseye-ffmpeg/avoutput.rb
82
81
  - lib/hornetseye_ffmpeg_ext.rb
83
- homepage: http://wedesoft.github.com/hornetseye-ffmpeg/
82
+ homepage: http://wedesoft.github.io/hornetseye-ffmpeg/
84
83
  licenses:
85
84
  - GPL-3+
86
85
  metadata: {}
87
- post_install_message:
88
86
  rdoc_options: []
89
87
  require_paths:
90
88
  - lib
@@ -100,9 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
98
  - !ruby/object:Gem::Version
101
99
  version: '0'
102
100
  requirements: []
103
- rubyforge_project: hornetseye
104
- rubygems_version: 2.5.2
105
- signing_key:
101
+ rubygems_version: 3.6.3
106
102
  specification_version: 4
107
103
  summary: Read/write video frames using libffmpeg
108
104
  test_files: []