SDL_kitchensink
Loading...
Searching...
No Matches
Data Fields
Kit_Source Struct Reference

Audio/video source. More...

#include <kitsource.h>

Data Fields

void * format_ctx
 FFmpeg: Videostream format context.
 
void * avio_ctx
 FFmpeg: AVIO context.
 

Detailed Description

Audio/video source.

Should be created using Kit_CreateSourceFromUrl() or Kit_CreateSourceFromCustom(), and closed with Kit_CloseSource().

Source must exist for the whole duration of using a player. You must take care of closing the source yourself after you are done with it!

Field Documentation

◆ avio_ctx

void* Kit_Source::avio_ctx

FFmpeg: AVIO context.

◆ format_ctx

void* Kit_Source::format_ctx

FFmpeg: Videostream format context.


The documentation for this struct was generated from the following file: