theoradec: don't emit g_warning() on malformed input stream

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>
This commit is contained in:
Tim-Philipp Müller 2021-10-17 13:12:11 +01:00 committed by GStreamer Marge Bot
parent 5660743bbf
commit 2a2d6f7efe

View file

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