ext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.

Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Fix GST_ELEMENT_ERROR usage.
This commit is contained in:
Tim-Philipp Müller 2006-08-09 17:41:26 +00:00
parent 2615d0d4e9
commit d690153ea3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Fix GST_ELEMENT_ERROR usage.
2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):

View file

@ -859,7 +859,7 @@ gst_xvidenc_chain (GstPad * pad, GstBuffer * buf)
};
if (!xvidenc->handle) {
GST_ELEMENT_ERROR ("xvidenc", CORE, NEGOTIATION, (NULL),
GST_ELEMENT_ERROR (xvidenc, CORE, NEGOTIATION, (NULL),
("format wasn't negotiated before chain function"));
gst_buffer_unref (buf);
return GST_FLOW_NOT_NEGOTIATED;