<div dir="ltr"><div><div><div>I have a decoder plug-in that will throw an error using <br>GST_ELEMENT_ERROR (core->object,STREAM, FORMAT,<br>                                                ("Invalid data format presented"),<br>
                                                ("Input file is corrupted",  num_corrupted_frame_allowed));<br></div>when there is error found in the video frame.<br><br>In my application I try to catch the error,by <br>
    g_signal_connect (strBus, "message::error", (GCallback) error_received, Pipeline);<br><br></div>IN error_received, I check for Error->domain to be GST_STREAM_ERROR and then check for STATUS_ERROR_MEDIA_FORMAT to stop playback.<br>
<br>However, even though plug-in executes  GST_ELEMENT_ERROR, my erro handling never enters  error_received.<br><br></div>Any hint what might be going wrong?<br></div>