• Thomas Guillem's avatar
    input/item: factor input_item_t New*() functions · e49ee59a
    Thomas Guillem authored
    Remove "int options, const char *const *options, unsigned option_flags"
    arguments from every New() functions since these args are mainly unused. You
    now have to call input_item_AddOptions after input item creation to add
    options.
    
    Add input_item_net_type enum in order to avoid confusion between 2 int
    arguments: i_duration and i_net that could both be -1, 0 or > 0.
    
    Replace input_item_NewWithType and input_item_NewWithTypeExt with
    input_item_NewExt.
    
    Add input_item_NewCard, input_item_NewDisc, input_item_NewStream,
    input_item_NewDirectory, input_item_NewFile MACRO. These MACROS avoid to use
    useless arguments for an item type (for example, it's useless to specify a
    duration for a directory type).
    e49ee59a
Name
Last commit
Last update
..
Makefile.am Loading commit data...
audio.c Loading commit data...
core.c Loading commit data...
dialog.c Loading commit data...
error.c Loading commit data...
event.c Loading commit data...
libvlc.pc.in Loading commit data...
libvlc.sym Loading commit data...
libvlc_internal.h Loading commit data...
log.c Loading commit data...
media.c Loading commit data...
media_discoverer.c Loading commit data...
media_internal.h Loading commit data...
media_library.c Loading commit data...
media_list.c Loading commit data...
media_list_internal.h Loading commit data...
media_list_path.h Loading commit data...
media_list_player.c Loading commit data...
media_player.c Loading commit data...
media_player_internal.h Loading commit data...
playlist.c Loading commit data...
video.c Loading commit data...
vlm.c Loading commit data...