mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
Give the default media size a 4:3 aspect ratio. This will make the tutorial look right, but it is not a fix for the first frame jumping into position.
This commit is contained in:
parent
e8010b654f
commit
3cfa87cbb7
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ import android.view.View;
|
|||
|
||||
// A simple SurfaceView whose width and height is set from the outside
|
||||
public class GStreamerSurfaceView extends SurfaceView {
|
||||
public int media_width = 100; // Default values, only really meaningful for the layout editor in Eclipse
|
||||
public int media_height = 100;
|
||||
public int media_width = 320; // Default values, only really meaningful for the layout editor in Eclipse
|
||||
public int media_height = 240;
|
||||
|
||||
// Mandatory constructors, they do not do much
|
||||
public GStreamerSurfaceView(Context context, AttributeSet attrs,
|
||||
|
|
Loading…
Reference in a new issue