Interfaces for querying Ogg streams.
More...
Go to the source code of this file.
Interfaces for querying Ogg streams.
◆ oggz_stream_get_content()
Determine the content type of the oggz stream referred to by serialno.
- Parameters
-
| oggz | An OGGZ handle |
| serialno | An ogg stream serialno |
- Return values
-
| OGGZ_CONTENT_THEORA..OGGZ_CONTENT_UNKNOWN | content successfully identified |
| OGGZ_CONTENT_ERR_BAD_OGGZ | oggz does not refer to an existing OGGZ |
| OGGZ_CONTENT_ERR_BAD_SERIALNO | serialno does not refer to an existing stream |
◆ oggz_stream_get_content_type()
| const char * oggz_stream_get_content_type |
( |
OGGZ * | oggz, |
|
|
long | serialno ) |
Return human-readable string representation of content type of oggz stream referred to by serialno.
- Parameters
-
| oggz | An OGGZ handle |
| serialno | An ogg stream serialno |
- Return values
-
| string | the name of the content type |
| NULL | oggz or serialno invalid |
◆ oggz_stream_get_numheaders()
| int oggz_stream_get_numheaders |
( |
OGGZ * | oggz, |
|
|
long | serialno ) |
Determine the number of headers of the oggz stream referred to by serialno.
- Parameters
-
| oggz | An OGGZ handle |
| serialno | An ogg stream serialno |
- Return values
-
| OGGZ_CONTENT_THEORA..OGGZ_CONTENT_UNKNOWN | content successfully identified |
| OGGZ_ERR_BAD_OGGZ | oggz does not refer to an existing OGGZ |
| OGGZ_ERR_BAD_SERIALNO | serialno does not refer to an existing stream |