[gst-plugins-farsight/master] Remove unused member variables
Olivier Crete
olivier.crete at collabora.co.uk
Tue Mar 3 10:53:14 PST 2009
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
---
ext/mimic/gstmimdec.c | 7 -------
ext/mimic/gstmimdec.h | 2 --
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index 636b944..408def8 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 2cc4a48..cd56b7f 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
--
1.5.6.5
More information about the farsight-commits
mailing list