sys: make video sinks default to force-aspect-ratio=true

This commit is contained in:
Tim-Philipp Müller 2012-06-29 12:03:51 +01:00
parent d3271381ee
commit 4f6b3b7bbd
5 changed files with 5 additions and 5 deletions

View file

@ -264,7 +264,7 @@ gst_d3dvideosink_class_init (GstD3DVideoSinkClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
"Force aspect ratio",
"When enabled, scaling will respect original aspect ratio", FALSE,
"When enabled, scaling will respect original aspect ratio", TRUE,
(GParamFlags) G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_PIXEL_ASPECT_RATIO, g_param_spec_string ("pixel-aspect-ratio",

View file

@ -429,7 +429,7 @@ gst_directdraw_sink_class_init (GstDirectDrawSinkClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
"Force aspect ratio",
"When enabled, scaling will respect original aspect ratio", FALSE,
"When enabled, scaling will respect original aspect ratio", TRUE,
G_PARAM_READWRITE));
}

View file

@ -263,7 +263,7 @@ gst_dshowvideosink_class_init (GstDshowVideoSinkClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
"Force aspect ratio",
"When enabled, scaling will respect original aspect ratio", FALSE,
"When enabled, scaling will respect original aspect ratio", TRUE,
(GParamFlags)G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_FULL_SCREEN, g_param_spec_boolean ("fullscreen",

View file

@ -1457,7 +1457,7 @@ gst_pvrvideosink_class_init (GstPVRVideoSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
g_param_spec_boolean ("force-aspect-ratio", "Force aspect ratio",
"When enabled, reverse caps negotiation (scaling) will respect "
"original aspect ratio", FALSE,
"original aspect ratio", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,

View file

@ -1219,7 +1219,7 @@ gst_vdp_vpp_class_init (GstVdpVideoPostProcessClass * klass)
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
g_param_spec_boolean ("force-aspect-ratio", "Force aspect ratio",
"When enabled, the plugin will only scale up the input surface to the"
"maximum size where the aspect ratio can be preserved", FALSE,
"maximum size where the aspect ratio can be preserved", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DEINTERLACE_MODE,