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/4814>
This commit is contained in:
Elliot Chen 2023-06-09 17:51:28 +08:00 committed by GStreamer Marge Bot
parent a88d90b777
commit 308a9f9466

View file

@ -741,7 +741,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;
}