diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
commit | 51e5863a97bdfc80b5c2024236f990210f4541f8 (patch) | |
tree | a405601ca4a288858cdb43a438f31d5e5969674b /ext/flac/gstflacenc.c | |
parent | 9925c8d04217e7e41993ee98fe77ddd02eb857a1 (diff) |
GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
Diffstat (limited to 'ext/flac/gstflacenc.c')
-rw-r--r-- | ext/flac/gstflacenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index d8bfe509..df90c448 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -549,7 +549,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data) } if (!flacenc->negotiated) { - gst_element_error (flacenc, CORE, NEGOTIATION, NULL, + GST_ELEMENT_ERROR (flacenc, CORE, NEGOTIATION, NULL, ("format wasn't negotiated before chain function")); return; } @@ -575,7 +575,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data) gst_flacenc_set_metadata (flacenc); state = FLAC__seekable_stream_encoder_init (flacenc->encoder); if (state != FLAC__STREAM_ENCODER_OK) { - gst_element_error (flacenc, LIBRARY, INIT, NULL, + GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, NULL, ("could not initialize encoder (wrong parameters?)")); return; } @@ -610,7 +610,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data) flacenc->data = NULL; if (!res) { - gst_element_error (flacenc, STREAM, ENCODE, NULL, NULL); + GST_ELEMENT_ERROR (flacenc, STREAM, ENCODE, NULL, NULL); } } |