I use the following code to start the built-in recorder and record a video with the front camera in portrait mode:
Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
if (takeVideoIntent.resolveActivity(getPackageManager()) != null)
{
startActivityForResult(takeVideoIntent, REQUEST_VIDEO_CAPTURE);
}
When I open the video from gallery, it is played upside down.
I tested it by starting the camera recorder from the menu and recorded a video with the front camera in portrait mode. On playback, it is also flawed and played upside down.
Is it a phone bug? It is tested with Samsung and Sony and both play upside down. Could anyone verify that every phone has this bug?