Skip to content

Get java binding available to other java binding #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

cchampet
Copy link
Member

This is a tricky point of SWIG.
The case is when we want to use the java binding of AvTranscoder into an other java binding of an other application, and inherited from a class of AvTranscoder.
To do this, SWIG needs to use functions to cast object to an other and make the hierarchy of java classes works. The problem is that these functions are internal, and can't be accessible by the java binding of the other application. The pull request makes these functions public.
Here more information about this issue: http://sourceforge.net/p/swig/mailman/swig-
devel/thread/4ED006FD.6020403@fultondesigns.co.uk/

Also rename dynamic libraries on windows ('-'.dll).

Clement Champetier added 3 commits August 29, 2014 15:59
* If more than one module is used and SWIG proxy classes need
constructing/using across modules, there is no other option than expose
the getCPtr() of AvTranscoder java binding to public.
* See this link: http://sourceforge.net/p/swig/mailman/swig-
devel/thread/4ED006FD.6020403@fultondesigns.co.uk/
<name>'-'<version>.dll
Contains swig specificities to make AvTranscoder's Java binding
available to other swig java binding.
MarcAntoine-Arnaud added a commit that referenced this pull request Sep 3, 2014
…her_java_binding

Get java binding available to other java binding
@MarcAntoine-Arnaud MarcAntoine-Arnaud merged commit 85f5c46 into avTranscoder:master Sep 3, 2014
@cchampet cchampet deleted the dev_java_binding_available_to_other_java_binding branch September 17, 2014 08:04
cchampet added a commit to cchampet/avTranscoder that referenced this pull request Feb 5, 2015
…Duration

Add transcoding policy eProcessMethodBasedOnDuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants