
Data Structures | |
| struct | demux_sys_t |
Functions | |
| static int | Demux (demux_t *p_demux) |
| Main demux callback function. | |
| static int | Control (demux_t *p_demux, int i_query, va_list args) |
| static void | ParseClipInfo (const char *psz_clipinfo, char **ppsz_artist, char **ppsz_title, char **ppsz_album, char **ppsz_genre, char **ppsz_year, char **ppsz_cdnum, char **ppsz_comments) |
| Parses clipinfo parameter. | |
| int | Import_RAM (vlc_object_t *p_this) |
| Import_RAM: main import function. | |
| void | Close_RAM (vlc_object_t *p_this) |
| Frees up memory on module close. | |
| static const char * | SkipBlanks (const char *s, size_t i_strlen) |
| Skips blanks in a given buffer. | |
| static int | ParseTime (const char *s, size_t i_strlen) |
| Converts a time of format hour:minutes:sec.fraction to seconds. | |
| void Close_RAM | ( | vlc_object_t * | p_this | ) |
Frees up memory on module close.
| p_this,: | this demux object |
References demux_t::p_sys, and demux_sys_t::psz_prefix.
| static int Control | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
| p_demux,: | This object | |
| i_query,: | ||
| args,: | List of arguments |
References VLC_EGENERIC, and VLC_UNUSED.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
Main demux callback function.
| p_demux,: | this demux object |
References asprintf(), decode_URI_duplicate(), EMPTY_STR, EnsureUTF8(), FREENULL, GetCurrentItem(), input_item_NewExt, input_item_node_AppendItem(), input_item_node_Create(), input_item_node_PostAndDelete(), input_item_SetAlbum(), input_item_SetArtist(), input_item_SetCopyright(), input_item_SetDate(), input_item_SetDescription(), input_item_SetGenre(), input_item_SetPublisher(), input_item_SetTitle(), input_item_SetTrackNum, INSERT_ELEM, demux_t::p_sys, ParseClipInfo(), ParseTime(), ProcessMRL(), psz_option, demux_sys_t::psz_prefix, psz_value, demux_t::s, stream_ReadLine(), var_Destroy, and vlc_gc_decref.
| int Import_RAM | ( | vlc_object_t * | p_this | ) |
Import_RAM: main import function.
| p_this,: | this demux object |
References demux_IsPathExtension(), FindPrefix(), demux_t::p_sys, demux_sys_t::psz_prefix, STANDARD_DEMUX_INIT_MSG, VLC_EGENERIC, and VLC_SUCCESS.
| static void ParseClipInfo | ( | const char * | psz_clipinfo, | |
| char ** | ppsz_artist, | |||
| char ** | ppsz_title, | |||
| char ** | ppsz_album, | |||
| char ** | ppsz_genre, | |||
| char ** | ppsz_year, | |||
| char ** | ppsz_cdnum, | |||
| char ** | ppsz_comments | |||
| ) | [static] |
Parses clipinfo parameter.
| psz_clipinfo,: | string containing the clipinfo parameter along with quotes | |
| ppsz_artist,: | Buffer to store artist name | |
| ppsz_title,: | Buffer to store title | |
| ppsz_album,: | Buffer to store album | |
| ppsz_genre,: | Buffer to store genre | |
| ppsz_year,: | Buffer to store year | |
| ppsz_cdnum,: | Buffer to store cdnum | |
| ppsz_comments,: | Buffer to store comments |
References decode_URI_duplicate(), psz_value, and strdup().
Referenced by Demux().
| static int ParseTime | ( | const char * | s, | |
| size_t | i_strlen | |||
| ) | [static] |
Converts a time of format hour:minutes:sec.fraction to seconds.
| s,: | input string | |
| i_strlen,: | length of the buffer |
References SkipBlanks().
| static const char* SkipBlanks | ( | const char * | s, | |
| size_t | i_strlen | |||
| ) | [static] |
Skips blanks in a given buffer.
| s,: | input string | |
| i_strlen,: | length of the buffer |
1.5.6