Is there any chance for author of this compiled version, to add support for Teletext in libvlc?
It would be necessary to edit libvlcjni-mediaplayer.c and MediaPlayer.java.
public void ToggleTeletext() {
nativeToggleTeletext();
}
public int GetTeletext() {
return nativeGetTeletext();
}
public void SetTeletext(int index) {
nativeSetTeletext(index);
}
/* JNI */
private native void nativeToggleTeletext();
private native int nativeGetTeletext();
private native void nativeSetTeletext(int index);
After that, libvlc should be recompiled. I tried to recompile latest official version of vlc for android, but I get some strange errors, even code looks good to me.
Maybe someone know why this error happen:
../../src/modules/bank.c:672:9: error: implicit declaration of function 'twalk'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
twalk(modules.caps_tree, vlc_modcap_sort);
No need to bother, I've managed to compile latest version of VLC by my self. NDK was issue. It says that version must be 13 and above, but actually, it has to be 13 only.
Is there any chance for author of this compiled version, to add support for Teletext in libvlc? It would be necessary to edit libvlcjni-mediaplayer.c and MediaPlayer.java.
In libvlcjni-mediaplayer.c should be added:
In MediaPlayer.java
After that, libvlc should be recompiled. I tried to recompile latest official version of vlc for android, but I get some strange errors, even code looks good to me.
Maybe someone know why this error happen: