mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 22:28:22 +00:00
[MOVED FROM GST-P-FARSIGHT] Remove unused member variables
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
This commit is contained in:
parent
9439baafec
commit
a6c725572e
2 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue