Changeset aba56b6b8399dd4b582bdab334a28cd7ea8f60de
- Timestamp:
- 03/08/03 18:36:20
(5 years ago)
- Author:
- Benjamin Pracht <bigben@videolan.org>
- git-committer:
- Benjamin Pracht <bigben@videolan.org> 1059928580 +0000
- git-parent:
[e4c2f343ae6a2d06b6ad8cafdf35dd43e7b7e1e1]
- git-author:
- Benjamin Pracht <bigben@videolan.org> 1059928580 +0000
- Message:
* modules/access_out/http.c :
using ability to give parametters to a specific sout module to set user and password fot http access out.
new syntax is '#dst{access=http{user=foo,pass=bar}}
--sout-http-user and --sout-http-pwd parametters have been deleted.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbb3720f |
raba56b6 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2003 VideoLAN |
|---|
| 5 | | * $Id: http.c,v 1.4 2003/07/31 19:10:14 bigben Exp $ |
|---|
| | 5 | * $Id: http.c,v 1.5 2003/08/03 16:36:20 bigben Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Laurent Aimar <fenrir@via.ecp.fr> |
|---|
| … | … | |
| 56 | 56 | add_shortcut( "http" ); |
|---|
| 57 | 57 | set_callbacks( Open, Close ); |
|---|
| 58 | | add_string( "sout-http-user", NULL, NULL, "HTTP Stream Ouput user name", "User name for Basic Authentification on HTTP Stream Output module", VLC_TRUE ); |
|---|
| 59 | | add_string( "sout-http-pwd", NULL, NULL, "HTTP Stream Ouput password", "Password for Basic Authentification on HTTP Stream Output module", VLC_TRUE ); |
|---|
| 60 | 58 | vlc_module_end(); |
|---|
| 61 | 59 | |
|---|
| … | … | |
| 221 | 219 | psz_file_name, |
|---|
| 222 | 220 | GetMime( psz_file_name ), |
|---|
| 223 | | config_GetPsz( p_access, "sout-http-user" ), |
|---|
| 224 | | config_GetPsz( p_access, "sout-http-pwd" ) ); |
|---|
| | 221 | sout_cfg_find_value( p_access->p_cfg, "user" ), |
|---|
| | 222 | sout_cfg_find_value( p_access->p_cfg, "pwd" ) ); |
|---|
| 225 | 223 | |
|---|
| 226 | 224 | if( !p_sys->p_httpd_stream ) |
|---|