gst/: Remove caps as a string (fixes #137485).

Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
* gst/parse/grammar.y:
Remove caps as a string (fixes #137485).
This commit is contained in:
Ronald S. Bultje 2005-03-25 19:52:11 +00:00
parent 3b9eb810d0
commit 41b7a94969
6 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,11 @@
2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/elements/gsttypefindelement.c:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
* gst/parse/grammar.y:
Remove caps as a string (fixes #137485).
2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/threads/Makefile.am:

View file

@ -154,8 +154,8 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
typefind_class->have_type = gst_type_find_element_have_type;
g_object_class_install_property (gobject_class, ARG_CAPS,
g_param_spec_boxed ("caps", _("caps"),
_("detected capabilities in stream"), gst_caps_get_type (),
g_param_spec_boxed ("caps", _("stream type"),
_("detected type of stream"), gst_caps_get_type (),
G_PARAM_READABLE));
g_object_class_install_property (gobject_class, ARG_MINIMUM,
g_param_spec_uint ("minimum", _("minimum"),

View file

@ -74,7 +74,7 @@ _gst_core_errors_init (void)
TABLE (t, CORE, SEEK,
N_("Internal GStreamer error: seek problem. File a bug."));
TABLE (t, CORE, CAPS,
N_("Internal GStreamer error: caps problem. File a bug."));
N_("Internal GStreamer error: capabilities problem. File a bug."));
TABLE (t, CORE, TAG,
N_("Internal GStreamer error: tag problem. File a bug."));

View file

@ -54,7 +54,6 @@ G_BEGIN_DECLS
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
*
* Core errors are errors inside the core GStreamer library.
* the core GStreamer library
*/
/* FIXME: should we divide in numerical blocks so we can easily add
for example PAD errors later ? */

View file

@ -553,7 +553,7 @@ link: linkpart LINK linkpart { $$ = $1;
if ($2) {
$$->caps = gst_caps_from_string ($2);
if (!$$->caps)
SET_ERROR (((graph_t *) graph)->error, GST_PARSE_ERROR_LINK, _("could not parse caps \"%s\""), $2);
SET_ERROR (((graph_t *) graph)->error, GST_PARSE_ERROR_LINK, _("could not parse capabilities \"%s\""), $2);
gst_parse_strfree ($2);
}
$$->sink_name = $3->src_name;

View file

@ -154,8 +154,8 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
typefind_class->have_type = gst_type_find_element_have_type;
g_object_class_install_property (gobject_class, ARG_CAPS,
g_param_spec_boxed ("caps", _("caps"),
_("detected capabilities in stream"), gst_caps_get_type (),
g_param_spec_boxed ("caps", _("stream type"),
_("detected type of stream"), gst_caps_get_type (),
G_PARAM_READABLE));
g_object_class_install_property (gobject_class, ARG_MINIMUM,
g_param_spec_uint ("minimum", _("minimum"),