Skip to content

Commit

Permalink
* Update presets for FFmpeg where avcodec now inherits from `swres…
Browse files Browse the repository at this point in the history
…ample` (issue #13)
  • Loading branch information
saudet committed Aug 26, 2014
1 parent 7decab7 commit c7850be
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Update presets for FFmpeg where `avcodec` now inherits from `swresample` ([issue #13](https://github.com/bytedeco/javacpp-presets/issues/13))
* Add a `README.md` file to each presets with links to original project, Java API documentation, and sample usage
* Add missing overloaded methods with `PointerPointer` parameters in LLVM module

Expand Down
1 change: 1 addition & 0 deletions ffmpeg/src/main/java/org/bytedeco/javacpp/avcodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.avutil.*;
import static org.bytedeco.javacpp.swresample.*;

public class avcodec extends org.bytedeco.javacpp.presets.avcodec {
static { Loader.load(); }
Expand Down
2 changes: 1 addition & 1 deletion ffmpeg/src/main/java/org/bytedeco/javacpp/avdevice.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.avutil.*;
import static org.bytedeco.javacpp.swresample.*;
import static org.bytedeco.javacpp.avcodec.*;
import static org.bytedeco.javacpp.avformat.*;
import static org.bytedeco.javacpp.postproc.*;
import static org.bytedeco.javacpp.swresample.*;
import static org.bytedeco.javacpp.swscale.*;
import static org.bytedeco.javacpp.avfilter.*;

Expand Down
2 changes: 1 addition & 1 deletion ffmpeg/src/main/java/org/bytedeco/javacpp/avfilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.avutil.*;
import static org.bytedeco.javacpp.swresample.*;
import static org.bytedeco.javacpp.avcodec.*;
import static org.bytedeco.javacpp.avformat.*;
import static org.bytedeco.javacpp.postproc.*;
import static org.bytedeco.javacpp.swresample.*;
import static org.bytedeco.javacpp.swscale.*;

public class avfilter extends org.bytedeco.javacpp.presets.avfilter {
Expand Down
1 change: 1 addition & 0 deletions ffmpeg/src/main/java/org/bytedeco/javacpp/avformat.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.avutil.*;
import static org.bytedeco.javacpp.swresample.*;
import static org.bytedeco.javacpp.avcodec.*;

public class avformat extends org.bytedeco.javacpp.presets.avformat {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 Samuel Audet
* Copyright (C) 2013,2014 Samuel Audet
*
* This file is part of JavaCPP.
*
Expand Down Expand Up @@ -30,7 +30,7 @@
*
* @author Samuel Audet
*/
@Properties(inherit=avutil.class, target="org.bytedeco.javacpp.avcodec", value={
@Properties(inherit=swresample.class, target="org.bytedeco.javacpp.avcodec", value={
@Platform(cinclude={"<libavcodec/avcodec.h>", "<libavcodec/avfft.h>"}, link="avcodec@.55"),
@Platform(value="windows", link="avcodec-55") })
public class avcodec implements InfoMapper {
Expand Down

0 comments on commit c7850be

Please sign in to comment.