set videoAspectRatio at cocoa incorrect
I try to set VLCMediaPlayer videoAspectRatio ,video frame already change, but sometimes render content alignment maybe error(video content move to left unexplainable), sometimes videoAspectRatio not work,,,i real don't known what happen with that,I attach some file for this case, please help me to fix it.thanks.
code to set videoAspectRatio:
mediaPlayer?.scaleFactor = 0 mediaPlayer?.videoCropGeometry = nil mediaPlayer?.videoAspectRatio = newValue.cStringRef