diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-12-03 16:05:03 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-12-03 16:06:35 +0200 |
commit | d80750e8d233863028b2852e033fc3c2b6f75145 (patch) | |
tree | 615d2985c79893c8f3ad232c128f69ce05f7e53a | |
parent | 33f9abda38911ee32f14c36dda77c7a9cbecfbb1 (diff) |
tee: remove unused offset member
-rw-r--r-- | plugins/elements/gsttee.c | 4 | ||||
-rw-r--r-- | plugins/elements/gsttee.h | 1 |
2 files changed, 0 insertions, 5 deletions
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; |