VLC
3.0.15
|
Macros | |
#define | MAX_REDIR 5 |
Functions | |
char * | get_path (const char *location) |
static void | vlc_access_Destroy (stream_t *access) |
static stream_t * | access_New (vlc_object_t *parent, input_thread_t *input, bool preparsing, const char *mrl) |
stream_t * | vlc_access_NewMRL (vlc_object_t *parent, const char *mrl) |
Opens a new read-only byte stream. More... | |
int | access_vaDirectoryControlHelper (stream_t *p_access, int i_query, va_list args) |
Default pf_control callback for directory accesses. More... | |
static int | AStreamNoReadDir (stream_t *s, input_item_node_t *p_node) |
static block_t * | AStreamReadBlock (stream_t *s, bool *restrict eof) |
static ssize_t | AStreamReadStream (stream_t *s, void *buf, size_t len) |
static int | AStreamReadDir (stream_t *s, input_item_node_t *p_node) |
static int | AStreamSeek (stream_t *s, uint64_t offset) |
static int | AStreamControl (stream_t *s, int cmd, va_list args) |
static void | AStreamDestroy (stream_t *s) |
stream_t * | stream_AccessNew (vlc_object_t *parent, input_thread_t *input, bool preparsing, const char *url) |
This function creates a raw stream_t from an URL. More... | |
#define MAX_REDIR 5 |
|
static |
References stream_t::b_preparsing, get_path(), MAX_REDIR, module_need, msg_Dbg, msg_Err, p, stream_t::p_input, stream_t::p_module, stream_t::pf_control, stream_t::psz_filepath, stream_t::psz_location, stream_t::psz_name, stream_t::psz_url, strdup(), stream_CommonDelete(), strndup(), unlikely, vlc_access_Destroy(), and vlc_stream_CommonNew().
Referenced by vlc_access_NewMRL().
|
static |
|
static |
|
static |
< Unspecified error
References input_thread_private_t::counters_lock, block_t::i_buffer, input_priv(), stream_t::p_input, input_thread_private_t::p_input_bitrate, input_thread_private_t::p_read_bytes, input_thread_private_t::p_read_packets, stream_t::p_sys, stats_Update(), vlc_killed(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_stream_Eof(), and vlc_stream_ReadBlock().
|
static |
References stream_t::p_sys, and stream_t::pf_readdir.
|
static |
References input_thread_private_t::counters_lock, input_priv(), stream_t::p_input, input_thread_private_t::p_input_bitrate, input_thread_private_t::p_read_bytes, input_thread_private_t::p_read_packets, stream_t::p_sys, stats_Update(), vlc_killed(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_stream_Eof(), and vlc_stream_ReadPartial().
|
static |
References stream_t::p_sys, and vlc_stream_Seek().
char* get_path | ( | const char * | location | ) |
References asprintf(), and vlc_uri2path().
Referenced by access_New(), and demux_NewAdvanced().
stream_t* stream_AccessNew | ( | vlc_object_t * | parent, |
input_thread_t * | input, | ||
bool | preparsing, | ||
const char * | url | ||
) |
This function creates a raw stream_t from an URL.
Referenced by vlc_stream_NewURL().
|
static |
References module_unneed, stream_t::p_module, stream_t::psz_filepath, and stream_t::psz_name.
Referenced by access_New().