[vlc-commits] kva: fix compilation with some cosmetics
KO Myung-Hun
git at videolan.org
Wed Jan 2 10:16:11 CET 2019
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Jan 1 02:25:21 2019 +0900| [96160ffb21d44a9dc6da7d8f2de253a16f565eae] | committer: Rémi Denis-Courmont
kva: fix compilation with some cosmetics
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96160ffb21d44a9dc6da7d8f2de253a16f565eae
---
modules/video_output/kva.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
index 66404c9aff..4f585f712f 100644
--- a/modules/video_output/kva.c
+++ b/modules/video_output/kva.c
@@ -454,16 +454,15 @@ static int Control( vout_display_t *vd, int query, va_list args )
case VOUT_DISPLAY_CHANGE_SOURCE_CROP:
{
- video_format_t src_rot;
- video_format_ApplyRotation(&src_rot, &vd->source);
-
- sys->kvas.rclSrcRect.xLeft = src_rot.i_x_offset;
- sys->kvas.rclSrcRect.yTop = src_rot.i_y_offset;
- sys->kvas.rclSrcRect.xRight = src_rot.i_x_offset +
- src_rot.i_visible_width;
- sys->kvas.rclSrcRect.yBottom = src_rot.i_y_offset +
- src_rot.i_visible_height;
- }
+ video_format_t src_rot;
+ video_format_ApplyRotation(&src_rot, &vd->source);
+
+ sys->kvas.rclSrcRect.xLeft = src_rot.i_x_offset;
+ sys->kvas.rclSrcRect.yTop = src_rot.i_y_offset;
+ sys->kvas.rclSrcRect.xRight = src_rot.i_x_offset +
+ src_rot.i_visible_width;
+ sys->kvas.rclSrcRect.yBottom = src_rot.i_y_offset +
+ src_rot.i_visible_height;
kvaSetup( &sys->kvas );
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list