basetransform: Fix in/outbuf confusion of _default_transform_meta

The default implementation doesn't actually use its buffer parameters,
but this error might have been the cause of some actual confusion in
the plugins code.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/663>
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-10-08 13:37:41 +02:00
parent 0ed165bf67
commit 0f93889c7a

View file

@ -306,7 +306,7 @@ static gboolean default_copy_metadata (GstBaseTransform * trans,
GstBuffer * inbuf, GstBuffer * outbuf);
static gboolean
gst_base_transform_default_transform_meta (GstBaseTransform * trans,
GstBuffer * inbuf, GstMeta * meta, GstBuffer * outbuf);
GstBuffer * outbuf, GstMeta * meta, GstBuffer * inbuf);
/* static guint gst_base_transform_signals[LAST_SIGNAL] = { 0 }; */
@ -502,7 +502,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
static gboolean
gst_base_transform_default_transform_meta (GstBaseTransform * trans,
GstBuffer * inbuf, GstMeta * meta, GstBuffer * outbuf)
GstBuffer * outbuf, GstMeta * meta, GstBuffer * inbuf)
{
const GstMetaInfo *info = meta->info;
const gchar *const *tags;