audioencoder: Fix incorrect GST_LOG_OBJECT usage

GstBuffer is not a GstObject, so this causes a warning to be emitted.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/956>
This commit is contained in:
Arun Raghavan 2020-12-03 06:50:07 -05:00 committed by GStreamer Merge Bot
parent 7a53fbad68
commit 27ce682940

View file

@ -1265,7 +1265,7 @@ gst_audio_encoder_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
discont = GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_DISCONT);
if (G_UNLIKELY (discont)) {
GST_LOG_OBJECT (buffer, "marked discont");
GST_LOG_OBJECT (enc, "marked discont");
enc->priv->discont = discont;
}