summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
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