[MOVED FROM GOOD] Rename the keep-aspect-ratio property to force-aspect-ratio to...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Jun 2007 16:31:15 +0000 (16:31 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 16 May 2009 00:29:17 +0000 (01:29 +0100)
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_class_init):
Rename the keep-aspect-ratio property to force-aspect-ratio to make
it consistent with xvimagesink and ximagesink.

sys/directdraw/gstdirectdrawsink.c

index 300bfe0..5eff741 100644 (file)
@@ -342,8 +342,9 @@ gst_directdraw_sink_class_init (GstDirectDrawSinkClass * klass)
   /* install properties */
   /* setup aspect ratio mode */
   g_object_class_install_property (G_OBJECT_CLASS (klass),
-      PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("keep-aspect-ratio",
-          "keep-aspect-ratio", "keep the aspect ratio or not", FALSE,
+      PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
+          "Force aspect ratio",
+          "When enabled, scaling will respect original aspect ratio", FALSE,
           G_PARAM_READWRITE));
 }