mpv_get_sub_api method

Pointer<Void> mpv_get_sub_api(
  1. Pointer<mpv_handle> ctx,
  2. int sub_api
)

This is used for additional APIs that are not strictly part of the core API. See the individual mpv_sub_api member values.

@deprecated use render.h

Implementation

ffi.Pointer<ffi.Void> mpv_get_sub_api(
  ffi.Pointer<mpv_handle> ctx,
  int sub_api,
) {
  return _mpv_get_sub_api(
    ctx,
    sub_api,
  );
}