From 2a2d6f7efedee96bfea23e5968d99649d0da61d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 17 Oct 2021 13:12:11 +0100 Subject: [PATCH] theoradec: don't emit g_warning() on malformed input stream Part-of: --- subprojects/gst-plugins-base/ext/theora/gsttheoradec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c b/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c index 0d61a01..33a28d7 100644 --- a/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c +++ b/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c @@ -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; -- 2.7.4