ximagesink, xvimagesink: default to force-aspect-ratio=true
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 29 Jun 2012 10:43:46 +0000 (11:43 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 29 Jun 2012 10:43:46 +0000 (11:43 +0100)
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c

index f47e7d3..b02ccc1 100644 (file)
@@ -1923,7 +1923,7 @@ gst_ximagesink_class_init (GstXImageSinkClass * klass)
   g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
       g_param_spec_boolean ("force-aspect-ratio", "Force aspect ratio",
           "When enabled, reverse caps negotiation (scaling) will respect "
-          "original aspect ratio", FALSE,
+          "original aspect ratio", TRUE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_PIXEL_ASPECT_RATIO,
       g_param_spec_string ("pixel-aspect-ratio", "Pixel Aspect Ratio",
index ed2f10c..1968115 100644 (file)
@@ -2835,7 +2835,7 @@ gst_xvimagesink_class_init (GstXvImageSinkClass * klass)
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
       g_param_spec_boolean ("force-aspect-ratio", "Force aspect ratio",
-          "When enabled, scaling will respect original aspect ratio", FALSE,
+          "When enabled, scaling will respect original aspect ratio", TRUE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_HANDLE_EVENTS,
       g_param_spec_boolean ("handle-events", "Handle XEvents",