diff options
Diffstat (limited to 'gst/synaesthesia/gstsynaesthesia.c')
-rw-r--r-- | gst/synaesthesia/gstsynaesthesia.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/synaesthesia/gstsynaesthesia.c b/gst/synaesthesia/gstsynaesthesia.c index 7d5f4e52..a6c08416 100644 --- a/gst/synaesthesia/gstsynaesthesia.c +++ b/gst/synaesthesia/gstsynaesthesia.c @@ -294,9 +294,7 @@ gst_synaesthesia_chain (GstPad *pad, GstBuffer *bufin) ); if (gst_pad_try_set_caps (synaesthesia->srcpad, caps) <= 0) { - gst_element_gerror(GST_ELEMENT (synaesthesia), GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf("could not set caps")); + gst_element_error (GST_ELEMENT (synaesthesia), "could not set caps"); return; } synaesthesia->first_buffer = FALSE; |