Anyone? ;)

Thank you

On Dec 8, 5:06 pm, vyceris <[email protected]> wrote:
> Hi,
>
> How can implement video rotation during playback (or before starting
> playing)? I tried:
> private SurfaceView video  = null;
> -----
> video = new SurfaceView();
> video.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> -----
> video.getHolder().lockCanvas().rotate(90);
>
> it gives me error:
> 12-08 15:39:54.551: WARN/System.err(17811): android.view.SurfaceHolder
> $BadSurfaceTypeException: Surface type is SURFACE_TYPE_PUSH_BUFFERS.
>
> If somebody could give me simple example or just references how to
> establish it, that would be great.
> Maybe Android does not support video rotation at all. Could somebody
> confirm that?
> Thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to