You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.1 KiB
48 lines
2.1 KiB
--- a/modules/access/rdp.c
|
|
+++ b/modules/access/rdp.c
|
|
@@ -198,15 +198,15 @@
|
|
demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
|
|
|
|
/* Configure connexion */
|
|
- p_instance->settings->sw_gdi = true; /* render in buffer */
|
|
- p_instance->settings->fullscreen = true;
|
|
- p_instance->settings->hostname = strdup( p_sys->psz_hostname );
|
|
- p_instance->settings->username =
|
|
+ p_instance->settings->SoftwareGdi = true; /* render in buffer */
|
|
+ p_instance->settings->Fullscreen = true;
|
|
+ p_instance->settings->ServerHostname = strdup( p_sys->psz_hostname );
|
|
+ p_instance->settings->Username =
|
|
var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "user" );
|
|
- p_instance->settings->password =
|
|
+ p_instance->settings->Password =
|
|
var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "password" );
|
|
- p_instance->settings->port = p_sys->i_port;
|
|
- p_instance->settings->encryption =
|
|
+ p_instance->settings->ServerPort = p_sys->i_port;
|
|
+ p_instance->settings->EncryptionMethods =
|
|
var_InheritBool( p_vlccontext->p_demux, CFG_PREFIX "encrypt" );
|
|
|
|
return true;
|
|
@@ -217,9 +217,9 @@
|
|
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context;
|
|
|
|
msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)",
|
|
- p_instance->settings->width,
|
|
- p_instance->settings->height,
|
|
- p_instance->settings->color_depth );
|
|
+ p_instance->settings->DesktopWidth,
|
|
+ p_instance->settings->DesktopHeight,
|
|
+ p_instance->settings->ColorDepth );
|
|
|
|
p_instance->update->DesktopResize = desktopResizeHandler;
|
|
p_instance->update->BeginPaint = beginPaintHandler;
|
|
@@ -415,7 +415,7 @@
|
|
p_sys->p_instance->Authenticate = authenticateHandler;
|
|
|
|
/* Set up context handlers and let it be allocated */
|
|
- p_sys->p_instance->context_size = sizeof( vlcrdp_context_t );
|
|
+ p_sys->p_instance->ContextSize = sizeof( vlcrdp_context_t );
|
|
freerdp_context_new( p_sys->p_instance );
|
|
|
|
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_sys->p_instance->context;
|