#include <vlc_common.h>
#include <vlc_plugin.h>
+#include <vlc_modules.h>
#include "screen.h"
/*****************************************************************************
#ifdef SCREEN_MOUSE
#define MOUSE_TEXT N_( "Mouse pointer image" )
#define MOUSE_LONGTEXT N_( \
- "If specifed, will use the image to draw the mouse pointer on the " \
+ "If specified, will use the image to draw the mouse pointer on the " \
"capture." )
#endif
case DEMUX_GET_PTS_DELAY:
pi64 = (int64_t*)va_arg( args, int64_t * );
- *pi64 = (int64_t)var_GetInteger( p_demux, "screen-caching" ) *1000;
+ *pi64 = var_GetInteger( p_demux, "screen-caching" ) *1000;
return VLC_SUCCESS;
case DEMUX_GET_TIME:
p_sys->fmt.video.i_chroma,
p_sys->fmt.video.i_width,
p_sys->fmt.video.i_height,
- p_sys->fmt.video.i_aspect );
+ p_sys->fmt.video.i_sar_num,
+ p_sys->fmt.video.i_sar_den );
if( !p_sys->p_blend )
{
p_sys->p_blend = vlc_object_create( p_demux, sizeof(filter_t) );
if( !p_sys->p_blend->p_module )
{
msg_Err( p_demux, "Could not load video blending module" );
- vlc_object_detach( p_sys->p_blend );
vlc_object_release( p_sys->p_blend );
p_sys->p_blend = NULL;
}