public interface libvlc_media_open_cb
extends com.sun.jna.Callback
Modifier and Type | Method and Description |
---|---|
int |
open(com.sun.jna.Pointer opaque,
com.sun.jna.ptr.PointerByReference datap,
com.sun.jna.ptr.LongByReference sizep)
Callback prototype to open a custom bitstream input media.
|
int open(com.sun.jna.Pointer opaque, com.sun.jna.ptr.PointerByReference datap, com.sun.jna.ptr.LongByReference sizep)
The same media item can be opened multiple times. Each time, this callback is invoked. It should allocate and initialize any instance-specific resources, then store them in *datap. The instance resources can be freed in the @ref libvlc_close_cb callback.
For convenience, datap is initially NULL and sizep is initially 0.
opaque
- private pointer as passed to libvlc_media_new_callbacks()datap
- storage space for a private data pointer [OUT]sizep
- byte length of the bitstream or 0 if unknown [OUT]Copyright © 2009–2015 Caprica Software Limited. All rights reserved.