diff --git a/tests/check/elements/uvch264demux.c b/tests/check/elements/uvch264demux.c index 51b9cfbc47..fb8b17f837 100644 --- a/tests/check/elements/uvch264demux.c +++ b/tests/check/elements/uvch264demux.c @@ -563,18 +563,13 @@ GST_START_TEST (test_not_enough_aux_data) gst_buffer_fill (buffer, 0, data, sizeof (data)); gst_buffer_set_size (buffer, sizeof (data)); - fail_unless (gst_pad_push (mjpg_pad, buffer) == GST_FLOW_ERROR); + /* It's actually silently ignored */ + fail_unless (gst_pad_push (mjpg_pad, buffer) == GST_FLOW_OK); fail_unless (gst_pad_push_event (mjpg_pad, gst_event_new_eos ())); fail_unless (have_h264_eos && have_yuy2_eos && have_nv12_eos && have_jpg_eos); fail_unless (buffer_h264 == NULL && buffer_jpg == NULL); fail_unless (buffer_nv12 == NULL && buffer_yuy2 == NULL); - fail_unless (gerror != NULL); - fail_unless (gerror->domain == GST_STREAM_ERROR); - fail_unless (gerror->code == GST_STREAM_ERROR_DEMUX); - fail_unless (memcmp (gerror->message, - "Incomplete auxiliary stream. 16 bytes missing", - strlen (gerror->message)) == 0); _teardown_test (); }