summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--docs/plugins/gst-plugins-bad-plugins.args6
-rw-r--r--sys/directdraw/gstdirectdrawsink.c5
3 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 5585e472..3c544f78 100644
--- 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):
diff --git a/docs/plugins/gst-plugins-bad-plugins.args b/docs/plugins/gst-plugins-bad-plugins.args
index 20c5f6ee..4cd97198 100644
--- a/docs/plugins/gst-plugins-bad-plugins.args
+++ b/docs/plugins/gst-plugins-bad-plugins.args
@@ -17086,12 +17086,12 @@
</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>
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 300bfe07..5eff741c 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -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));
}