Skip to content

Commit

Permalink
Expose native ABI version method
Browse files Browse the repository at this point in the history
  • Loading branch information
caprica committed Feb 2, 2024
1 parent 1629e4d commit b2588d2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/uk/co/caprica/vlcj/factory/ApplicationApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with VLCJ. If not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2009-2022 Caprica Software Limited.
* Copyright 2009-2024 Caprica Software Limited.
*/

package uk.co.caprica.vlcj.factory;
Expand All @@ -26,6 +26,7 @@
import java.util.ArrayList;
import java.util.List;

import static uk.co.caprica.vlcj.binding.lib.LibVlc.libvlc_abi_version;
import static uk.co.caprica.vlcj.binding.lib.LibVlc.libvlc_audio_filter_list_get;
import static uk.co.caprica.vlcj.binding.lib.LibVlc.libvlc_clock;
import static uk.co.caprica.vlcj.binding.lib.LibVlc.libvlc_get_changeset;
Expand Down Expand Up @@ -76,6 +77,15 @@ public String changeset() {
return libvlc_get_changeset();
}

/**
* Get the native ABI version for libvlc.
*
* @return ABI version number
*/
public int abiVersion() {
return libvlc_abi_version();
}

/**
* Set the application name.
*
Expand Down

0 comments on commit b2588d2

Please sign in to comment.