typefindhelper: avoid printing error log
authorElliot Chen <elliot.chen@nxp.com>
Fri, 9 Jun 2023 09:51:28 +0000 (17:51 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 14 Jun 2023 13:45:35 +0000 (14:45 +0100)
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>

subprojects/gstreamer/libs/gst/base/gsttypefindhelper.c

index f385e80..c5c7650 100644 (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;
   }