glimagesink: Keep aspect ratio by default
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Wed, 9 Jul 2014 19:03:42 +0000 (15:03 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Wed, 9 Jul 2014 19:03:53 +0000 (15:03 -0400)
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.

ext/gl/gstglimagesink.c

index 6f0a029c9c6ed66257bd00ea434f024961c172fa..e43d4cbe738bedf9167aed817c71315d496730ad 100644 (file)
@@ -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;