[vlc-commits] [Git][videolan/vlc][master] vout/vsbd: fix the swapped transposed orientations
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Tue Oct 20 11:27:57 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
afdd4323 by Felix Paul Kühne at 2026-10-20T13:17:32+02:00
vout/vsbd: fix the swapped transposed orientations
Also fix incorrect fallthrough for the anti-transposed orientation.
- - - - -
1 changed file:
- modules/video_output/apple/VLCSampleBufferDisplay.m
Changes:
=====================================
modules/video_output/apple/VLCSampleBufferDisplay.m
=====================================
@@ -1078,12 +1078,13 @@ static void RenderPicture(vout_display_t *vd, picture_t *pic, vlc_tick_t date) {
sys.rotationContext.rotation = kVLCSampleBufferPixelRotation_90CCW;
break;
case ORIENT_TRANSPOSED:
- sys.rotationContext.flip = kVLCSampleBufferPixelFlip_V;
+ sys.rotationContext.flip = kVLCSampleBufferPixelFlip_H;
sys.rotationContext.rotation = kVLCSampleBufferPixelRotation_90CW;
break;
case ORIENT_ANTI_TRANSPOSED:
- sys.rotationContext.flip = kVLCSampleBufferPixelFlip_H;
+ sys.rotationContext.flip = kVLCSampleBufferPixelFlip_V;
sys.rotationContext.rotation = kVLCSampleBufferPixelRotation_90CW;
+ break;
case ORIENT_NORMAL:
default:
sys.rotationContext = nil;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/afdd43236f825e14bb7a458c9ba08ba7d8593d7f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/afdd43236f825e14bb7a458c9ba08ba7d8593d7f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list