diff --git a/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c b/subprojects/gst-plugins-base/ext/theora/gsttheoradec.c index 0d61a01ba0..33a28d7608 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;