Skip to content

libVLC (VLC 3.0.0) changing aspect ratio doesn't work on Mac (C++)

When using libVLC on Mac (used with Qt 4.8.6) changing crop geometry and aspect ratio doesn't work. Following functions are used:

libvlc_video_set_crop_geometry(pMediaPlayer, "4:3");
libvlc_video_set_aspect_ratio(pMediaPlayer, "4:3");

The log gives me following output:

[0000000101d15c18] core vout display error: Failed to change source crop TODO implement crop at core

I've used newest libVLC from VLC 2.2.1. Mac OS version is 10.10.

Crop and aspect ratio work well on Windows and Linux. Last version of libVLC where this has worked on Mac was from VLC 2.0.1. All later versions either crashed or show this bug as described here.

Edited by Jean-Baptiste Kempf
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information