Lines 399-405
Link Here
|
399 |
if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0; |
404 |
if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0; |
400 |
p_sys->i_frame_interval = 1000000 / p_sys->f_fps; |
405 |
p_sys->i_frame_interval = 1000000 / p_sys->f_fps; |
401 |
|
406 |
|
|
|
407 |
#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2)) |
402 |
freerdp_channels_global_init(); |
408 |
freerdp_channels_global_init(); |
|
|
409 |
#endif |
403 |
|
410 |
|
404 |
p_sys->p_instance = freerdp_new(); |
411 |
p_sys->p_instance = freerdp_new(); |
405 |
if ( !p_sys->p_instance ) |
412 |
if ( !p_sys->p_instance ) |
Lines 475-481
Link Here
|
475 |
|
482 |
|
476 |
freerdp_disconnect( p_sys->p_instance ); |
483 |
freerdp_disconnect( p_sys->p_instance ); |
477 |
freerdp_free( p_sys->p_instance ); |
484 |
freerdp_free( p_sys->p_instance ); |
|
|
485 |
|
486 |
#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2)) |
478 |
freerdp_channels_global_uninit(); |
487 |
freerdp_channels_global_uninit(); |
|
|
488 |
#endif |
479 |
|
489 |
|
480 |
if ( p_sys->p_block ) |
490 |
if ( p_sys->p_block ) |
481 |
block_Release( p_sys->p_block ); |
491 |
block_Release( p_sys->p_block ); |