
Data Structures | |
| struct | services_discovery_sys_t |
Defines | |
| #define | OPEN_MODULE(type) |
Enumerations | |
| enum | type_e { Video = 0, Audio = 1, Picture = 2, Unknown = 3 } |
Functions | |
| static int | Open (vlc_object_t *, enum type_e) |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| static int | OpenVideo (vlc_object_t *p_this) |
| static int | OpenAudio (vlc_object_t *p_this) |
| static int | OpenPicture (vlc_object_t *p_this) |
| static int | vlc_sd_probe_Open (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void * | Run (void *) |
| static void | input_item_subitem_added (const vlc_event_t *, void *) |
| static int | onNewFileAdded (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| static enum type_e | fileType (services_discovery_t *p_sd, const char *psz_file) |
| static void | formatSnapshotItem (input_item_t *) |
| #define OPEN_MODULE | ( | type | ) |
Value:
static int Open##type( vlc_object_t *p_this ) \ { \ msg_Dbg( p_this, "Starting " #type ); \ return Open( p_this, type ); \ }
| enum type_e |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| enum type_e fileType | ( | services_discovery_t * | p_sd, | |
| const char * | psz_file | |||
| ) | [static] |
References DIR_SEP_CHAR, i, services_discovery_sys_t::i_type, services_discovery_t::p_sys, p_sys, services_discovery_sys_t::psz_dir, strdup(), and Unknown.
Referenced by onNewFileAdded().
| void formatSnapshotItem | ( | input_item_t * | p_item | ) | [static] |
References asprintf(), input_item_AddOption(), input_item_GetURI(), input_item_SetArtURL, input_item_SetURI(), psz_option, and VLC_INPUT_OPTION_TRUSTED.
Referenced by input_item_subitem_added(), and onNewFileAdded().
| static void input_item_subitem_added | ( | const vlc_event_t * | p_event, | |
| void * | user_data | |||
| ) | [static] |
References formatSnapshotItem(), services_discovery_sys_t::i_type, vlc_event_t::vlc_event_type_specific::input_item_subitem_added, p_item, vlc_event_t::vlc_event_type_specific::vlc_input_item_subitem_added::p_new_child, services_discovery_t::p_sys, p_sys, Picture, services_discovery_AddItem(), and vlc_event_t::u.
| static int onNewFileAdded | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References Audio, fileType(), formatSnapshotItem(), services_discovery_sys_t::i_type, input_item_New, make_URI(), msg_Dbg, p_item, services_discovery_t::p_sys, p_sys, Picture, vlc_value_t::psz_string, services_discovery_AddItem(), Unknown, Video, VLC_EGENERIC, vlc_gc_decref, and VLC_SUCCESS.
Referenced by Open().
| static int Open | ( | vlc_object_t * | p_this, | |
| enum type_e | i_type | |||
| ) | [static] |
References Audio, config_GetUserDir(), services_discovery_sys_t::i_type, onNewFileAdded(), services_discovery_t::p_libvlc, services_discovery_t::p_sys, p_sys, Picture, services_discovery_sys_t::psz_dir, services_discovery_sys_t::psz_var, Run(), services_discovery_sys_t::thread, var_AddCallback, var_CreateGetString, var_DelCallback, Video, vlc_clone(), VLC_EGENERIC, VLC_ENOMEM, VLC_MUSIC_DIR, VLC_PICTURES_DIR, VLC_SUCCESS, VLC_THREAD_PRIORITY_LOW, and VLC_VIDEOS_DIR.
| static int OpenAudio | ( | vlc_object_t * | p_this | ) | [static] |
| static int OpenPicture | ( | vlc_object_t * | p_this | ) | [static] |
| static int OpenVideo | ( | vlc_object_t * | p_this | ) | [static] |
| static void * Run | ( | void * | data | ) | [static] |
References input_item_t::event_manager, i, services_discovery_sys_t::i_type, input_item_AddOption(), input_item_New, input_item_subitem_added(), input_Read, make_URI(), services_discovery_t::p_sys, p_sys, Picture, services_discovery_sys_t::psz_dir, vlc_event_attach, vlc_event_detach(), vlc_gc_decref, VLC_INPUT_OPTION_TRUSTED, vlc_InputItemSubItemAdded, vlc_restorecancel(), vlc_savecancel(), and vlc_stat().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| static int vlc_sd_probe_Open | ( | vlc_object_t * | obj | ) | [static] |
References N_, SD_CAT_MYCOMPUTER, VLC_PROBE_CONTINUE, and vlc_sd_probe_Add().
1.5.6