diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2007-06-08 16:31:15 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-05-16 01:29:17 +0100 |
commit | 7e0f619ef2ba9fe40df099716bf5652df069cc87 (patch) | |
tree | 8c054b215788cb8b502d7dc4678602c65aae6a43 | |
parent | 4c32422297fba581dc4c79f8bcfe412b604e6347 (diff) | |
download | gst-plugins-bad-7e0f619ef2ba9fe40df099716bf5652df069cc87.tar.gz gst-plugins-bad-7e0f619ef2ba9fe40df099716bf5652df069cc87.tar.bz2 gst-plugins-bad-7e0f619ef2ba9fe40df099716bf5652df069cc87.zip |
[MOVED FROM GOOD] 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.
-rw-r--r-- | sys/directdraw/gstdirectdrawsink.c | 5 |
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)); } |