Is there a way to rotate the libVLC surface instance?

VLC for Android and Chrome OS specific usage questions
SaundersB
Blank Cone
Blank Cone
Posts: 16
Joined: 30 Dec 2016 15:44

Is there a way to rotate the libVLC surface instance?

Postby SaundersB » 03 Mar 2017 23:23

I'd like to be able to rotate a libVLC surface instance in quarter turns. I know how to set the size of the surface which I've embedded inside a Frame. But how would I go about quarter turning the video?

I'm using libVLC for Android 2.0.6.

Code: Select all

public void setPlayerDimensions(int mPlayerWidth, int mPlayerHeight){ /* Set the players dimensions. */ if(mSurfaceView != null) { android.widget.FrameLayout.LayoutParams params = new android.widget.FrameLayout.LayoutParams(mPlayerWidth, mPlayerHeight, Gravity.LEFT); mSurfaceView.setLayoutParams(params); } }

SaundersB
Blank Cone
Blank Cone
Posts: 16
Joined: 30 Dec 2016 15:44

Re: Is there a way to rotate the libVLC surface instance?

Postby SaundersB » 21 Mar 2017 14:48

Is there no solution to rotate video/image playback with libVLC for Android?


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 61 guests