Size callback used to implement a custom stream.
Return MPV_ERROR_UNSUPPORTED if no size is known.
This callback can be NULL, in which it behaves as if always returning MPV_ERROR_UNSUPPORTED.
@param cookie opaque cookie identifying the stream, returned from mpv_stream_cb_open_fn @return the total size in bytes of the stream
See Implementation
Size callback used to implement a custom stream.
Return MPV_ERROR_UNSUPPORTED if no size is known.
This callback can be NULL, in which it behaves as if always returning MPV_ERROR_UNSUPPORTED.
@param cookie opaque cookie identifying the stream, returned from mpv_stream_cb_open_fn @return the total size in bytes of the stream