theoradec: don't emit g_warning() on malformed input stream
authorTim-Philipp Müller <tim@centricular.com>
Sun, 17 Oct 2021 12:12:11 +0000 (13:12 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Oct 2021 00:12:25 +0000 (00:12 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>

subprojects/gst-plugins-base/ext/theora/gsttheoradec.c

index 0d61a01..33a28d7 100644 (file)
@@ -574,7 +574,7 @@ theora_handle_header_packet (GstTheoraDec * dec, ogg_packet * packet)
       break;
     default:
       /* ignore */
-      g_warning ("unknown theora header packet found");
+      GST_WARNING_OBJECT (dec, "unknown theora header packet found");
     case 0x80:
       /* nothing special, this is the identification header */
       res = GST_FLOW_OK;