- height = p_vout->i_window_height;
- width = p_vout->i_window_width;
- sprintf( psz_crop,"%ix%i+%i+%i",
- width - ui.cropLeftPx->value() - ui.cropRightPx->value(),
- height - ui.cropBotPx->value() - ui.cropTopPx->value(),
- ui.cropLeftPx->value(),
- ui.cropTopPx->value() );
-
- // var_Set( p_vout, "crop-geometry", qtu( qs_crop ) );
+ var_SetInteger( p_vout, "crop-top", ui.cropTopPx->value() );
+ var_SetInteger( p_vout, "crop-bottom", ui.cropBotPx->value() );
+ var_SetInteger( p_vout, "crop-left", ui.cropLeftPx->value() );
+ var_SetInteger( p_vout, "crop-right", ui.cropRightPx->value() );