Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_start):
Use right error code when typefinding fails, so we can use
the default (translated) error messages.
+2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
+
+ * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
+ Use right error code when typefinding fails, so we can use
+ the default (translated) error messages.
+
2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
typefind_failed:
{
GST_DEBUG_OBJECT (basesrc, "could not typefind, stopping");
- GST_ELEMENT_ERROR (basesrc, STREAM, FORMAT,
- ("Could not determine media type"),
- ("Add support for this media type"));
+ GST_ELEMENT_ERROR (basesrc, STREAM, TYPE_NOT_FOUND, (NULL), (NULL));
/* we must call stop */
gst_base_src_stop (basesrc);
return FALSE;