summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-06-08 16:31:15 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-06-08 16:31:15 +0000
commit5210165feb20efb9ce1243a1aae003ff43c40ba7 (patch)
tree76767334122dc8c6a25844fd38f0c5b42852f953 /sys
parentd3d46ebb1281d9e3d177b4986b95cf8936495742 (diff)
downloadgst-plugins-bad-5210165feb20efb9ce1243a1aae003ff43c40ba7.tar.gz
gst-plugins-bad-5210165feb20efb9ce1243a1aae003ff43c40ba7.tar.bz2
gst-plugins-bad-5210165feb20efb9ce1243a1aae003ff43c40ba7.zip
Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/directdraw/gstdirectdrawsink.c5
1 files changed, 3 insertions, 2 deletions
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));
}