Several nativeInit() and nativeFinalize() in Android Tutorial3

classic Classic list List threaded Threaded
2 messages Options
JPM
Reply | Threaded
Open this post in threaded view
|

Several nativeInit() and nativeFinalize() in Android Tutorial3

JPM
Hi,

Is it possible to use several nativeInit() and nativeFinalize() in Java file
?.

I want to flush a video pipeline and I do not know how to do it.

Regards.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Several nativeInit() and nativeFinalize() in Android Tutorial3

Nicolas Dufresne-5
Le jeudi 23 août 2018 à 12:39 -0500, JPM a écrit :
> Hi,
>
> Is it possible to use several nativeInit() and nativeFinalize() in
> Java file
> ?.
>
> I want to flush a video pipeline and I do not know how to do it.

Those JNI API has been written as reference. You are free to completely
re-implement it with an API that fits your needs. What I usually do, is
to design an C or C++ API for my usecase and implement a JNI binding on
top. Replacing the suggestion in the tutorials.

>
> Regards.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment