From 17ff2b06432f7167687cfff58d686ce2013e24c0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 24 Jul 2012 11:23:30 +0200 Subject: [PATCH] x11: match FORCE_ASPECT_RATIO default value Set the default value for FORCE_ASPECT_RATIO correctly --- sys/ximage/ximagesink.c | 2 +- sys/xvimage/xvimagesink.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 4724bdd..9a70ac7 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1890,7 +1890,7 @@ gst_ximagesink_init (GstXImageSink * ximagesink) ximagesink->pool = NULL; ximagesink->synchronous = FALSE; - ximagesink->keep_aspect = FALSE; + ximagesink->keep_aspect = TRUE; ximagesink->handle_events = TRUE; ximagesink->handle_expose = TRUE; } diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index cc1c23b..2acecec 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -2775,7 +2775,7 @@ gst_xvimagesink_init (GstXvImageSink * xvimagesink) xvimagesink->synchronous = FALSE; xvimagesink->double_buffer = TRUE; xvimagesink->running = FALSE; - xvimagesink->keep_aspect = FALSE; + xvimagesink->keep_aspect = TRUE; xvimagesink->handle_events = TRUE; xvimagesink->par = NULL; xvimagesink->handle_expose = TRUE; -- 2.7.4