From 8196b9629cd63c75c64a9a32218dd0cb753a7bd1 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 9 Jul 2014 15:03:42 -0400 Subject: [PATCH] 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. --- ext/gl/gstglimagesink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c index 6f0a029c9c..e43d4cbe73 100644 --- a/ext/gl/gstglimagesink.c +++ b/ext/gl/gstglimagesink.c @@ -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;