diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index ce521510ac..1c1c04e4d4 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -637,10 +637,6 @@ gst_tee_handle_data (GstTee * tee, gpointer data, gboolean is_list) guint32 cookie; GstFlowReturn ret, cret; - if (!is_list) { - tee->offset += GST_BUFFER_SIZE (data); - } - GST_OBJECT_LOCK (tee); /* mark all pads as 'not pushed on yet' */ g_list_foreach (GST_ELEMENT_CAST (tee)->srcpads, (GFunc) clear_pads, tee); diff --git a/plugins/elements/gsttee.h b/plugins/elements/gsttee.h index d767125e65..014be3368f 100644 --- a/plugins/elements/gsttee.h +++ b/plugins/elements/gsttee.h @@ -77,7 +77,6 @@ struct _GstTee { gboolean silent; gchar *last_message; - guint64 offset; GstActivateMode sink_mode; GstTeePullMode pull_mode; GstPad *pull_pad;