Enumerations | |
| enum | bgav_stream_action_t { BGAV_STREAM_MUTE = 0, BGAV_STREAM_DECODE = 1, BGAV_STREAM_PARSE = 2 } |
| Stream action. More... | |
Functions | |
| const char * | bgav_get_audio_language (bgav_t *bgav, int stream) |
| Get the language of an audio stream. | |
| const char * | bgav_get_subtitle_language (bgav_t *bgav, int stream) |
| Get the language of an audio stream. | |
| int | bgav_set_audio_stream (bgav_t *bgav, int stream, bgav_stream_action_t action) |
| Select mode for an audio stream. | |
| int | bgav_set_video_stream (bgav_t *bgav, int stream, bgav_stream_action_t action) |
| Select mode for a video stream. | |
| int | bgav_set_subtitle_stream (bgav_t *bgav, int stream, bgav_stream_action_t action) |
| Select mode for a subtitle stream. | |
| enum bgav_stream_action_t |
Stream action.
This is used to tell the decoder, what to do with the stream. Only supported actions right now are mute (default) and decode.
| const char* bgav_get_audio_language | ( | bgav_t * | bgav, | |
| int | stream | |||
| ) |
Get the language of an audio stream.
| bgav | A decoder instance | |
| stream | Audio stream index (starting with 0) |
| const char* bgav_get_subtitle_language | ( | bgav_t * | bgav, | |
| int | stream | |||
| ) |
Get the language of an audio stream.
| bgav | A decoder instance | |
| stream | Subtitle stream index (starting with 0) |
| int bgav_set_audio_stream | ( | bgav_t * | bgav, | |
| int | stream, | |||
| bgav_stream_action_t | action | |||
| ) |
Select mode for an audio stream.
| bgav | A decoder instance | |
| stream | Stream index (starting with 0) | |
| action | The stream action. |
| int bgav_set_video_stream | ( | bgav_t * | bgav, | |
| int | stream, | |||
| bgav_stream_action_t | action | |||
| ) |
Select mode for a video stream.
| bgav | A decoder instance | |
| stream | Stream index (starting with 0) | |
| action | The stream action. |
| int bgav_set_subtitle_stream | ( | bgav_t * | bgav, | |
| int | stream, | |||
| bgav_stream_action_t | action | |||
| ) |
Select mode for a subtitle stream.
| bgav | A decoder instance | |
| stream | Stream index (starting with 0) | |
| action | The stream action. |
1.5.7