typefindhelper: avoid printing error log

some plugins such as wavparse may need find if type of media
contained in the given data and will print error log if there
is no matching factory.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4859>
This commit is contained in:
Elliot Chen 2023-06-09 17:51:28 +08:00 committed by Tim-Philipp Müller
parent 61bef370e0
commit b9f3ce1f3d

View file

@ -742,7 +742,7 @@ gst_type_find_helper_for_data_with_caps (GstObject * obj,
factories = gst_type_find_list_factories_for_caps (obj, caps);
if (!factories) {
GST_ERROR_OBJECT (obj, "Failed to typefind for caps: %" GST_PTR_FORMAT,
GST_INFO_OBJECT (obj, "Failed to typefind for caps: %" GST_PTR_FORMAT,
caps);
goto out;
}