ext/pango/gsttextoverlay.c: Fix textoverlay unit test again by making the supposed default value for the wait-text pr...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init),
(gst_text_overlay_init):
Fix textoverlay unit test again by making the supposed default
value for the wait-text property the actual default value.
Also fix Since: tag for new property.
This commit is contained in:
Tim-Philipp Müller 2008-04-14 17:58:19 +00:00
parent 96a3780816
commit bbbdbc38ba
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init),
(gst_text_overlay_init):
Fix textoverlay unit test again by making the supposed default
value for the wait-text property the actual default value.
Also fix Since: tag for new property.
2008-04-11 Tim-Philipp Müller <tim at centricular dot net> 2008-04-11 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/video/video.c: (gst_video_format_new_caps), * gst-libs/gst/video/video.c: (gst_video_format_new_caps),

2
common

@ -1 +1 @@
Subproject commit d3ace35f57dd196a3e83a0a48f1350ca32db8e39 Subproject commit f88ff852da7631ad2d0be835763da6d551a63883

View file

@ -417,7 +417,7 @@ gst_text_overlay_class_init (GstTextOverlayClass * klass)
* If video and subtitles are sent in sync, like from the same demuxer, this * If video and subtitles are sent in sync, like from the same demuxer, this
* property should be set. * property should be set.
* *
* Since: 0.10.19 * Since: 0.10.20
**/ **/
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_WAIT_TEXT, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_WAIT_TEXT,
g_param_spec_boolean ("wait-text", "Wait Text", g_param_spec_boolean ("wait-text", "Wait Text",
@ -522,6 +522,7 @@ gst_text_overlay_init (GstTextOverlay * overlay, GstTextOverlayClass * klass)
overlay->want_shading = DEFAULT_PROP_SHADING; overlay->want_shading = DEFAULT_PROP_SHADING;
overlay->shading_value = DEFAULT_SHADING_VALUE; overlay->shading_value = DEFAULT_SHADING_VALUE;
overlay->silent = DEFAULT_PROP_SILENT; overlay->silent = DEFAULT_PROP_SILENT;
overlay->wait_text = DEFAULT_PROP_WAIT_TEXT;
overlay->default_text = g_strdup (DEFAULT_PROP_TEXT); overlay->default_text = g_strdup (DEFAULT_PROP_TEXT);
overlay->need_render = TRUE; overlay->need_render = TRUE;