summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-07-25 22:26:48 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-03-03 14:34:07 -0500
commita6c725572e886405e9bf4736c441a7a53b50bb9a (patch)
tree1abe2ecee4b00223297b942de161bf34973310f3 /ext
parent9439baafec6a9af37da98191fc4adb3361ae3a3b (diff)
downloadgst-plugins-bad-a6c725572e886405e9bf4736c441a7a53b50bb9a.tar.gz
gst-plugins-bad-a6c725572e886405e9bf4736c441a7a53b50bb9a.tar.bz2
gst-plugins-bad-a6c725572e886405e9bf4736c441a7a53b50bb9a.zip
[MOVED FROM GST-P-FARSIGHT] Remove unused member variables
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
Diffstat (limited to 'ext')
-rw-r--r--ext/mimic/gstmimdec.c7
-rw-r--r--ext/mimic/gstmimdec.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index 636b944b..408def8a 100644
--- a/ext/mimic/gstmimdec.c
+++ b/ext/mimic/gstmimdec.c
@@ -128,9 +128,7 @@ gst_mimdec_init (GstMimDec *mimdec, GstMimDecClass *klass)
mimdec->buffer_size = -1;
mimdec->have_header = FALSE;
mimdec->payload_size = -1;
- mimdec->last_ts = -1;
mimdec->current_ts = -1;
- mimdec->gst_timestamp = GST_CLOCK_TIME_NONE;
}
static void
@@ -166,9 +164,6 @@ gst_mimdec_chain (GstPad *pad, GstBuffer *in)
GST_OBJECT_LOCK (mimdec);
- if (!GST_CLOCK_TIME_IS_VALID (mimdec->gst_timestamp))
- mimdec->gst_timestamp = GST_BUFFER_TIMESTAMP (in);
-
// do we have enough bytes to read a header
while (gst_adapter_available (mimdec->adapter) >= (mimdec->have_header ? mimdec->payload_size : 24)) {
if (!mimdec->have_header) {
@@ -328,9 +323,7 @@ gst_mimdec_change_state (GstElement *element, GstStateChange transition)
mimdec->buffer_size = -1;
mimdec->have_header = FALSE;
mimdec->payload_size = -1;
- mimdec->gst_timestamp = GST_CLOCK_TIME_NONE;
mimdec->current_ts = -1;
- mimdec->last_ts = -1;
GST_OBJECT_UNLOCK (element);
}
break;
diff --git a/ext/mimic/gstmimdec.h b/ext/mimic/gstmimdec.h
index 2cc4a487..cd56b7f8 100644
--- a/ext/mimic/gstmimdec.h
+++ b/ext/mimic/gstmimdec.h
@@ -58,9 +58,7 @@ struct _GstMimDec
gint buffer_size;
gboolean have_header;
guint32 payload_size;
- guint32 last_ts;
guint32 current_ts;
- GstClockTime gst_timestamp;
};
struct _GstMimDecClass