Commit bc9ec45e authored by Rémi Duraffort's avatar Rémi Duraffort

access_ftp: cleanup.

parent ead147e1
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <vlc_interface.h> #include <vlc_interface.h>
#include <vlc_network.h> #include <vlc_network.h>
#include "vlc_url.h" #include <vlc_url.h>
#include <vlc_sout.h> #include <vlc_sout.h>
#ifndef IPPORT_FTP #ifndef IPPORT_FTP
...@@ -75,23 +75,23 @@ vlc_module_begin () ...@@ -75,23 +75,23 @@ vlc_module_begin ()
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "ftp-caching", 2 * DEFAULT_PTS_DELAY / 1000, NULL, add_integer( "ftp-caching", 2 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true ); CACHING_TEXT, CACHING_LONGTEXT, true )
add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT, add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT,
false ); false )
add_string( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT, add_string( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
PASS_LONGTEXT, false ); PASS_LONGTEXT, false )
add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT, add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT,
ACCOUNT_LONGTEXT, false ); ACCOUNT_LONGTEXT, false )
add_shortcut( "ftp" ) add_shortcut( "ftp" )
set_callbacks( InOpen, InClose ) set_callbacks( InOpen, InClose )
add_submodule () add_submodule ()
set_shortname( "FTP" ) set_shortname( "FTP" )
set_description( N_("FTP upload output") ) set_description( N_("FTP upload output") )
set_capability( "sout access", 0 ) set_capability( "sout access", 0 )
set_category( CAT_SOUT ) set_category( CAT_SOUT )
set_subcategory( SUBCAT_SOUT_ACO ) set_subcategory( SUBCAT_SOUT_ACO )
set_callbacks( OutOpen, OutClose ) set_callbacks( OutOpen, OutClose )
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment