mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Merge branch 'dev' into release/1.19.0
This commit is contained in:
commit
66c78847d8
@ -14,7 +14,7 @@ class RemoteRotationVideoProxySink: VideoSink {
|
||||
val thisSink = targetSink ?: return
|
||||
val thisFrame = frame ?: return
|
||||
|
||||
val modifiedRotation = thisFrame.rotation - rotation
|
||||
val modifiedRotation = (thisFrame.rotation - rotation + 360) % 360
|
||||
|
||||
val newFrame = VideoFrame(thisFrame.buffer, modifiedRotation, thisFrame.timestampNs)
|
||||
thisSink.onFrame(newFrame)
|
||||
|
Loading…
x
Reference in New Issue
Block a user