mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
libs/gst/base/gstbasesrc.c: Use right error code when typefinding fails, so we can use the default (translated) error...
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.
This commit is contained in:
parent
638ecae590
commit
8ccf150874
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
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),
|
||||
|
|
|
@ -2413,9 +2413,7 @@ could_not_negotiate:
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue