- var_Get( p_vout->p_libvlc, "drawable-view-top", &val );
- viewBounds.top = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-view-left", &val );
- viewBounds.left = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-view-bottom", &val );
- viewBounds.bottom = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-view-right", &val );
- viewBounds.right = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-clip-top", &val );
- clipBounds.top = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-clip-left", &val );
- clipBounds.left = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-clip-bottom", &val );
- clipBounds.bottom = val.i_int;
- var_Get( p_vout->p_libvlc, "drawable-clip-right", &val );
- clipBounds.right = val.i_int;
+ viewBounds.top = var_GetInteger( p_vout->p_libvlc, "drawable-view-top" );
+ viewBounds.left = var_GetInteger( p_vout->p_libvlc, "drawable-view-left" );
+ viewBounds.bottom = var_GetInteger( p_vout->p_libvlc, "drawable-view-bottom" );
+ viewBounds.right = var_GetInteger( p_vout->p_libvlc, "drawable-view-right" );
+ clipBounds.top = var_GetInteger( p_vout->p_libvlc, "drawable-clip-top" );
+ clipBounds.left = var_GetInteger( p_vout->p_libvlc, "drawable-clip-left" );
+ clipBounds.bottom = var_GetInteger( p_vout->p_libvlc, "drawable-clip-bottom" );
+ clipBounds.right = var_GetInteger( p_vout->p_libvlc, "drawable-clip-right" );