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;
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;
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;
}
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;
}