diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-18 21:46:58 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-18 21:46:58 +0000 |
commit | 3b0cf935f687c359319104d7b0dd7d73c90da6a9 (patch) | |
tree | fc4cb9722017426795998bce5cb783e6eaae0365 /ext/esd | |
parent | 272db0c22e45b45e88f11a52b793bab588a02534 (diff) |
use new error signal and classification
Original commit message from CVS:
use new error signal and classification
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdmon.c | 2 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 394220e4..d728a885 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -267,7 +267,7 @@ gst_esdmon_get (GstPad *pad) "channels", G_TYPE_INT, esdmon->channels )) <= 0) { - gst_element_error (GST_ELEMENT (esdmon), "could not set caps"); + gst_element_error (esdmon, CORE, NEGOTIATION, NULL, NULL); return NULL; } } diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index f02d3875..a66be1a8 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -265,7 +265,8 @@ gst_esdsink_chain (GstPad *pad, GstData *_data) esdsink = GST_ESDSINK (gst_pad_get_parent (pad)); if (!esdsink->negotiated) { - gst_element_error (GST_ELEMENT (esdsink), "not negotiated"); + gst_element_error (esdsink, CORE, NEGOTIATION, NULL, + ("element wasn't negotiated before chain function")); goto done; } |