📄 vout_zoom.diff
字号:
Index: src/video_output/vout_pictures.c
===================================================================
--- src/video_output/vout_pictures.c (revision 9302)
+++ src/video_output/vout_pictures.c (working copy)
@@ -446,8 +446,11 @@
}
else
{
- *pi_width = __MIN( i_width, p_vout->render.i_width );
- *pi_height = __MIN( i_height, p_vout->render.i_height );
+ vlc_value_t val;
+ var_Get( p_vout, "zoom", &val );
+
+ *pi_width = __MIN( i_width, p_vout->render.i_width * val.f_float );
+ *pi_height = __MIN( i_height, p_vout->render.i_height * val.f_float );
}
if( VOUT_ASPECT_FACTOR * *pi_width / *pi_height < p_vout->render.i_aspect )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -