[vlc-commits] [Git][videolan/vlc][master] lib: fix swapped parameters in libvlc_video_set_crop_window
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Apr 2 07:45:25 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
f6039a85 by Martin Finkel at 2026-04-02T07:29:06+00:00
lib: fix swapped parameters in libvlc_video_set_crop_window
- - - - -
1 changed file:
- lib/video.c
Changes:
=====================================
lib/video.c
=====================================
@@ -422,7 +422,7 @@ void libvlc_video_set_crop_window(libvlc_media_player_t *mp,
char geometry[4 * (3 * sizeof (unsigned) + 1)];
assert(width != 0 && height != 0);
- snprintf(geometry, ARRAY_SIZE(geometry), "%ux%u+%u+%u", x, y, width, height);
+ snprintf(geometry, ARRAY_SIZE(geometry), "%ux%u+%u+%u", width, height, x, y);
libvlc_video_set_crop(mp, geometry);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f6039a85d2a52ac3e4cdbda5a04c7135e58f18ca
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f6039a85d2a52ac3e4cdbda5a04c7135e58f18ca
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list