Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Jun 2007 16:31:15 +0000 (16:31 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Jun 2007 16:31:15 +0000 (16:31 +0000)
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.

ChangeLog
docs/plugins/gst-plugins-bad-plugins.args
sys/directdraw/gstdirectdrawsink.c

index 5585e4726ce3a9aad57cddae522ea11491118481..3c544f783754b1cb01a499af078225e0ca9b864e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-06-08  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * 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.
+
 2007-06-08  Tim-Philipp Müller  <tim at centricular dot net>
 
        * tests/icles/videocrop-test.c: (main):
index 20c5f6ee2eb6aa140e405e0f081c6c959dc4ef54..4cd97198b114cb1aaa6271961574ebb782b73d6f 100644 (file)
 </ARG>
 
 <ARG>
-<NAME>GstDirectDrawSink::keep-aspect-ratio</NAME>
+<NAME>GstDirectDrawSink::force-aspect-ratio</NAME>
 <TYPE>gboolean</TYPE>
 <RANGE></RANGE>
 <FLAGS>rw</FLAGS>
-<NICK>keep-aspect-ratio</NICK>
-<BLURB>keep the aspect ratio or not</BLURB>
+<NICK>Force aspect ratio</NICK>
+<BLURB>When enabled, scaling will respect original aspect ratio.</BLURB>
 <DEFAULT>FALSE</DEFAULT>
 </ARG>
 
index 300bfe074892f8e9027fe8fdba728377079c4ccd..5eff741ccdaaa068bf8605945851c8d798c58a88 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));
 }