public class PullDataSourceCallbackURLProtocolHandler
extends java.lang.Object
implements net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler
Modifier and Type | Field and Description |
---|---|
static boolean |
TRACE |
Constructor and Description |
---|
PullDataSourceCallbackURLProtocolHandler(PullDataSource source) |
Modifier and Type | Method and Description |
---|---|
int |
close(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h) |
int |
open(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h,
java.lang.String filename,
int flags) |
int |
read(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size) |
long |
seek(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h,
long pos,
int whence) |
int |
write(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size) |
public static final boolean TRACE
public PullDataSourceCallbackURLProtocolHandler(PullDataSource source)
public int open(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h, java.lang.String filename, int flags)
open
in interface net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler
public int read(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
read
in interface net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler
public int write(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
write
in interface net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler
public long seek(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h, long pos, int whence)
seek
in interface net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler
public int close(net.sf.ffmpeg_java.AVFormatLibrary.URLContext h)
close
in interface net.sf.ffmpeg_java.custom_protocol.CallbackURLProtocolHandler