summaryrefslogtreecommitdiffstats
path: root/gst/auparse/gstauparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/auparse/gstauparse.c')
-rw-r--r--gst/auparse/gstauparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c
index 944e0bd6..a9a764f3 100644
--- a/gst/auparse/gstauparse.c
+++ b/gst/auparse/gstauparse.c
@@ -340,6 +340,7 @@ Samples :
}
if (!gst_pad_set_explicit_caps (auparse->srcpad, tempcaps)) {
+ GST_ELEMENT_ERROR (auparse, CORE, NEGOTIATION, (NULL), (NULL));
gst_buffer_unref (buf);
gst_object_unref (GST_OBJECT (auparse->srcpad));
auparse->srcpad = NULL;