mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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:
parent
7a53fbad68
commit
27ce682940
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue