mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-03 13:16:04 +00:00
glimagesink: Keep aspect ratio by default
The expected default behaviour for video sink is to maintain the aspect ratio. Fix the default value to reflect this. The property default was already TRUE, but the value was not initially TRUE.
This commit is contained in:
parent
62ac6db6a0
commit
8196b9629c
|
@ -293,7 +293,7 @@ gst_glimage_sink_init (GstGLImageSink * glimage_sink)
|
|||
glimage_sink->window_id = 0;
|
||||
glimage_sink->new_window_id = 0;
|
||||
glimage_sink->display = NULL;
|
||||
glimage_sink->keep_aspect_ratio = FALSE;
|
||||
glimage_sink->keep_aspect_ratio = TRUE;
|
||||
glimage_sink->par_n = 0;
|
||||
glimage_sink->par_d = 1;
|
||||
glimage_sink->pool = NULL;
|
||||
|
|
Loading…
Reference in a new issue