VLC 4.0.0-dev
Loading...
Searching...
No Matches

Raw input byte streams. More...

Collaboration diagram for Access:

Modules

 Access Helpers
 

Files

file  vlc_access.h
 Input byte stream modules interface.
 

Macros

#define VLC_ACCESS_REDIRECT   VLC_ETIMEOUT
 Special redirection error code.
 

Functions

stream_tvlc_access_NewMRL (vlc_object_t *obj, const char *mrl)
 Opens a new read-only byte stream.
 

Detailed Description

Raw input byte streams.

Macro Definition Documentation

◆ VLC_ACCESS_REDIRECT

#define VLC_ACCESS_REDIRECT   VLC_ETIMEOUT

Special redirection error code.

In case of redirection, the access open function should clean up (as in normal failure case), store the heap-allocated redirection URL in stream_t.psz_url, and return this value.

Function Documentation

◆ vlc_access_NewMRL()

stream_t * vlc_access_NewMRL ( vlc_object_t obj,
const char *  mrl 
)

Opens a new read-only byte stream.

This function might block. The initial offset is of course always zero.

Parameters
objparent VLC object
mrlmedia resource location to read
Returns
a new access object on success, NULL on failure

References access_New().