Skip to content

Commit

Permalink
Ignore unknown message types.
Browse files Browse the repository at this point in the history
There are non-core message types (such as latency). Thats okay, no need
to fail.
  • Loading branch information
Stefan Sauer committed Feb 5, 2024
1 parent b3be447 commit e5938dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/gst/e-elements.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ START_TEST (test_launch_bt_dec)
} else if (rmessage & message_types) {
continue;
}
ck_assert_msg (FALSE, "Unexpected message received of type %d, '%s', looking for %d",
GST_INFO ("Unexpected message received of type %d, '%s', looking for %d",
rmessage, gst_message_type_get_name (rmessage), tmessage);
}

Expand Down Expand Up @@ -155,7 +155,7 @@ START_TEST (test_launch_elements)
} else if (rmessage & message_types) {
continue;
}
ck_assert_msg (FALSE, "Unexpected message received of type %d, '%s', looking for %d",
GST_INFO ("Unexpected message received of type %d, '%s', looking for %d",
rmessage, gst_message_type_get_name (rmessage), tmessage);
}

Expand Down

0 comments on commit e5938dd

Please sign in to comment.