GST_ELEMENT_ERROR

Original commit message from CVS:
GST_ELEMENT_ERROR
This commit is contained in:
Thomas Vander Stichele 2004-01-29 23:20:39 +00:00
parent f1c371a3d3
commit 7f433d83ac
4 changed files with 5 additions and 5 deletions

2
common

@ -1 +1 @@
Subproject commit 0bcde342015b96d9a6ba3b9d9102e2a543399d96
Subproject commit 5da247bb6f217c5c32e5ebab0d3a2014dfa452c3

View file

@ -324,7 +324,7 @@ gst_ffmpegdec_chain (GstPad *pad,
gint have_data;
if (!ffmpegdec->opened) {
gst_element_error (ffmpegdec, CORE, NEGOTIATION, NULL,
GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, NULL,
("ffdec_%s: input format was not set before data start",
oclass->in_plugin->name));
return;
@ -414,7 +414,7 @@ gst_ffmpegdec_chain (GstPad *pad,
ffmpegdec->context);
if (caps == NULL ||
!gst_pad_set_explicit_caps (ffmpegdec->srcpad, caps)) {
gst_element_error (ffmpegdec, CORE, NEGOTIATION, NULL,
GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, NULL,
("Failed to link ffmpeg decoder (%s) to next element",
oclass->in_plugin->name));
return;

View file

@ -241,7 +241,7 @@ gst_ffmpegdemux_loop (GstElement *element)
ffmpegdemux->sinkpad),
oclass->in_plugin, 0, NULL);
if (res < 0) {
gst_element_error (ffmpegdemux, LIBRARY, TOO_LAZY, NULL,
GST_ELEMENT_ERROR (ffmpegdemux, LIBRARY, TOO_LAZY, NULL,
("Failed to open demuxer/file context"));
return;
}

View file

@ -330,7 +330,7 @@ gst_ffmpegmux_loop (GstElement *element)
if (url_fopen (&ffmpegmux->context->pb,
ffmpegmux->context->filename,
URL_WRONLY) < 0) {
gst_element_error (element, LIBRARY, TOO_LAZY, NULL,
GST_ELEMENT_ERROR (element, LIBRARY, TOO_LAZY, NULL,
("Failed to open stream context in ffmux"));
return;
}