[gst-cvs] gst-plugins-good: raw1394: remove useless last_time
Tim Müller
tpm at kemper.freedesktop.org
Mon Jun 14 17:26:44 PDT 2010
Module: gst-plugins-good
Branch: master
Commit: f7bf4cc90550878a1e73605043c8c77e31d3ec4b
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=f7bf4cc90550878a1e73605043c8c77e31d3ec4b
Author: Marc-André Lureau <mlureau at flumotion.com>
Date: Mon May 17 13:54:03 2010 +0200
raw1394: remove useless last_time
It seems to me this code is useless: removing it.
https://bugzilla.gnome.org/show_bug.cgi?id=618871
---
ext/raw1394/gst1394clock.c | 1 -
ext/raw1394/gst1394clock.h | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/ext/raw1394/gst1394clock.c b/ext/raw1394/gst1394clock.c
index 6f1546a..b7d4a8f 100644
--- a/ext/raw1394/gst1394clock.c
+++ b/ext/raw1394/gst1394clock.c
@@ -82,7 +82,6 @@ gst_1394_clock_class_init (Gst1394ClockClass * klass)
static void
gst_1394_clock_init (Gst1394Clock * clock)
{
- clock->last_time = 0;
GST_OBJECT_FLAG_SET (clock, GST_CLOCK_FLAG_CAN_SET_MASTER);
}
diff --git a/ext/raw1394/gst1394clock.h b/ext/raw1394/gst1394clock.h
index 98150ff..ab7594d 100644
--- a/ext/raw1394/gst1394clock.h
+++ b/ext/raw1394/gst1394clock.h
@@ -58,7 +58,6 @@ struct _Gst1394Clock {
raw1394handle_t handle;
- GstClockTime last_time;
guint32 cycle_timer_lo;
guint32 cycle_timer_hi;
};
More information about the Gstreamer-commits
mailing list