mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
3b9eb810d0
commit
41b7a94969
6 changed files with 14 additions and 7 deletions
|
@ -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>
|
2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* testsuite/threads/Makefile.am:
|
* testsuite/threads/Makefile.am:
|
||||||
|
|
|
@ -154,8 +154,8 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
|
||||||
typefind_class->have_type = gst_type_find_element_have_type;
|
typefind_class->have_type = gst_type_find_element_have_type;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, ARG_CAPS,
|
g_object_class_install_property (gobject_class, ARG_CAPS,
|
||||||
g_param_spec_boxed ("caps", _("caps"),
|
g_param_spec_boxed ("caps", _("stream type"),
|
||||||
_("detected capabilities in stream"), gst_caps_get_type (),
|
_("detected type of stream"), gst_caps_get_type (),
|
||||||
G_PARAM_READABLE));
|
G_PARAM_READABLE));
|
||||||
g_object_class_install_property (gobject_class, ARG_MINIMUM,
|
g_object_class_install_property (gobject_class, ARG_MINIMUM,
|
||||||
g_param_spec_uint ("minimum", _("minimum"),
|
g_param_spec_uint ("minimum", _("minimum"),
|
||||||
|
|
|
@ -74,7 +74,7 @@ _gst_core_errors_init (void)
|
||||||
TABLE (t, CORE, SEEK,
|
TABLE (t, CORE, SEEK,
|
||||||
N_("Internal GStreamer error: seek problem. File a bug."));
|
N_("Internal GStreamer error: seek problem. File a bug."));
|
||||||
TABLE (t, CORE, CAPS,
|
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,
|
TABLE (t, CORE, TAG,
|
||||||
N_("Internal GStreamer error: tag problem. File a bug."));
|
N_("Internal GStreamer error: tag problem. File a bug."));
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,6 @@ G_BEGIN_DECLS
|
||||||
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
|
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
|
||||||
*
|
*
|
||||||
* Core errors are errors inside the core GStreamer library.
|
* 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
|
/* FIXME: should we divide in numerical blocks so we can easily add
|
||||||
for example PAD errors later ? */
|
for example PAD errors later ? */
|
||||||
|
|
|
@ -553,7 +553,7 @@ link: linkpart LINK linkpart { $$ = $1;
|
||||||
if ($2) {
|
if ($2) {
|
||||||
$$->caps = gst_caps_from_string ($2);
|
$$->caps = gst_caps_from_string ($2);
|
||||||
if (!$$->caps)
|
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);
|
gst_parse_strfree ($2);
|
||||||
}
|
}
|
||||||
$$->sink_name = $3->src_name;
|
$$->sink_name = $3->src_name;
|
||||||
|
|
|
@ -154,8 +154,8 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
|
||||||
typefind_class->have_type = gst_type_find_element_have_type;
|
typefind_class->have_type = gst_type_find_element_have_type;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, ARG_CAPS,
|
g_object_class_install_property (gobject_class, ARG_CAPS,
|
||||||
g_param_spec_boxed ("caps", _("caps"),
|
g_param_spec_boxed ("caps", _("stream type"),
|
||||||
_("detected capabilities in stream"), gst_caps_get_type (),
|
_("detected type of stream"), gst_caps_get_type (),
|
||||||
G_PARAM_READABLE));
|
G_PARAM_READABLE));
|
||||||
g_object_class_install_property (gobject_class, ARG_MINIMUM,
|
g_object_class_install_property (gobject_class, ARG_MINIMUM,
|
||||||
g_param_spec_uint ("minimum", _("minimum"),
|
g_param_spec_uint ("minimum", _("minimum"),
|
||||||
|
|
Loading…
Reference in a new issue