diff options
Diffstat (limited to 'ext/sidplay/gstsiddec.cc')
-rw-r--r-- | ext/sidplay/gstsiddec.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/sidplay/gstsiddec.cc b/ext/sidplay/gstsiddec.cc index 65d25c032b..3e928e783f 100644 --- a/ext/sidplay/gstsiddec.cc +++ b/ext/sidplay/gstsiddec.cc @@ -450,8 +450,7 @@ pause: gst_pad_push_event (pad, gst_event_new_eos ()); } else if (ret < GST_FLOW_EOS || ret == GST_FLOW_NOT_LINKED) { /* for fatal errors we post an error message */ - GST_ELEMENT_ERROR (siddec, STREAM, FAILED, - (NULL), ("streaming task paused, reason %s", reason)); + GST_ELEMENT_FLOW_ERROR (siddec, ret); gst_pad_push_event (pad, gst_event_new_eos ()); } |